Changeset b9d74f3 in sasview for src/sas/sasgui/perspectives/fitting/fitpage.py
- Timestamp:
- Apr 20, 2017 6:29:34 AM (8 years ago)
- Children:
- 0cc77d8
- Parents:
- b636dfc5
- git-author:
- Andrew Nelson <andyfaff@…> (04/20/17 06:25:57)
- git-committer:
- Andrew Nelson <andyfaff@…> (04/20/17 06:29:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/fitpage.py
red2276f rb9d74f3 1847 1847 wx.PostEvent(self._manager.parent, StatusEvent(status=msg, 1848 1848 info="error")) 1849 raise ValueError , msg1849 raise ValueError(msg) 1850 1850 1851 1851 else: … … 1859 1859 wx.PostEvent(self._manager.parent, StatusEvent(status=msg, 1860 1860 info="error")) 1861 raise ValueError , msg1861 raise ValueError(msg) 1862 1862 # Maximum value of data 1863 1863 qmax = math.sqrt(x * x + y * y) … … 2098 2098 self._on_fit_complete() 2099 2099 if out is None or not np.isfinite(chisqr): 2100 raise ValueError , "Fit error occured..."2100 raise ValueError("Fit error occured...") 2101 2101 2102 2102 is_modified = False … … 2173 2173 i += 1 2174 2174 else: 2175 raise ValueError , "onsetValues: Invalid parameters..."2175 raise ValueError("onsetValues: Invalid parameters...") 2176 2176 # Show error title when any errors displayed 2177 2177 if has_error:
Note: See TracChangeset
for help on using the changeset viewer.