Changeset 5323490 in sasview for src/sas/sasgui/perspectives
- Timestamp:
- Oct 4, 2018 7:46:22 AM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- 0686fd26, 373e81b, 23ff8d5
- Parents:
- cfb7cd6
- git-author:
- Paul Kienzle <pkienzle@…> (10/04/18 07:46:22)
- git-committer:
- Piotr Rozyczko <piotr.rozyczko@…> (10/04/18 07:46:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
ra4a1ac9 r5323490 2884 2884 self.magnetic_on = True 2885 2885 button.SetLabel("Magnetic OFF") 2886 m_value = 1 .0e-062886 m_value = 1 2887 2887 for key in self.model.magnetic_params: 2888 2888 if key.count('M0') > 0: 2889 2889 self.model.setParam(key, m_value) 2890 m_value += 0.5 e-062890 m_value += 0.5 2891 2891 else: 2892 2892 self.magnetic_on = False
Note: See TracChangeset
for help on using the changeset viewer.