Changeset d744767 in sasview for src/sas/qtgui/Perspectives/Inversion/InversionLogic.py
- Timestamp:
- Mar 16, 2018 2:05:42 PM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 47bf906
- Parents:
- 477c473 (diff), e4c475b7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Inversion/InversionLogic.py
r5fba4c4 rd744767 73 73 except: 74 74 err[i] = 1.0 75 print( "Error getting error", value, x[i])75 print(("Error getting error", value, x[i])) 76 76 77 77 new_plot = Data1D(x, y) … … 99 99 except: 100 100 err[i] = 1.0 101 print( "Error getting error", value, x[i])101 print(("Error getting error", value, x[i])) 102 102 103 103 new_plot = Data1D(x, y) … … 143 143 except: 144 144 err[i] = 1.0 145 print( "Error getting error", value, x[i])145 print(("Error getting error", value, x[i])) 146 146 147 147 plot.x = x … … 160 160 except: 161 161 err[i] = 1.0 162 print( "Error getting error", value, x[i])162 print(("Error getting error", value, x[i])) 163 163 164 164 plot.x = x … … 272 272 msg = "Unable to find min/max/length of \n data named %s" % \ 273 273 self.data.filename 274 raise ValueError , msg274 raise ValueError(msg) 275 275 276 276 else: … … 282 282 msg = "Unable to find min/max of \n data named %s" % \ 283 283 self.data.filename 284 raise ValueError , msg284 raise ValueError(msg) 285 285 qmax = np.sqrt(x * x + y * y) 286 286 return qmin, qmax
Note: See TracChangeset
for help on using the changeset viewer.