Changeset 4ea8020 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
- Timestamp:
- Sep 7, 2018 9:40:56 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- c0de493
- Parents:
- 0109f2a (diff), dcabba7 (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. - git-author:
- Torin Cooper-Bennun <40573959+tcbennun@…> (09/07/18 09:40:56)
- git-committer:
- GitHub <noreply@…> (09/07/18 09:40:56)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
r70f4458 r4ea8020 474 474 475 475 theory_name = str(current_data.name.split()[0]) 476 res iduals.name = "Residuals for " + str(theory_name) + "[" + \477 str(reference_data.filename)+ "]"476 res_name = reference_data.filename if reference_data.filename else reference_data.name 477 residuals.name = "Residuals for " + str(theory_name) + "[" + res_name + "]" 478 478 residuals.title = residuals.name 479 479 residuals.ytransform = 'y' … … 501 501 """ 502 502 weight = None 503 if data is None: 504 return [] 503 505 if is2d: 506 if not hasattr(data, 'err_data'): 507 return [] 504 508 dy_data = data.err_data 505 509 data = data.data 506 510 else: 511 if not hasattr(data, 'dy'): 512 return [] 507 513 dy_data = data.dy 508 514 data = data.y
Note: See TracChangeset
for help on using the changeset viewer.