Skip to content

Commit

Permalink
remove e-06 from default magnetism values. Refs #1004 (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkienzle authored and rozyczko committed Oct 4, 2018
1 parent cfb7cd6 commit 5323490
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sas/sasgui/perspectives/fitting/basepage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2883,11 +2883,11 @@ def _on_mag_on(self, event):
if button.GetLabel().count('ON') > 0:
self.magnetic_on = True
button.SetLabel("Magnetic OFF")
m_value = 1.0e-06
m_value = 1
for key in self.model.magnetic_params:
if key.count('M0') > 0:
self.model.setParam(key, m_value)
m_value += 0.5e-06
m_value += 0.5
else:
self.magnetic_on = False
button.SetLabel("Magnetic ON")
Expand Down Expand Up @@ -3866,4 +3866,4 @@ def _silent_kill_focus(self, event):
"""

event.Skip()
# pass
# pass

0 comments on commit 5323490

Please sign in to comment.