Changeset 861f1880 in sasview for src/sas/sasgui/perspectives/pr/pr.py
- Timestamp:
- Apr 7, 2017 1:41:14 AM (8 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- fca1f50, f3707b9f, 643dcd93, fd5d8747
- Parents:
- bb81385 (diff), 6435594 (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:
- Paul Kienzle <pkienzle@…> (04/07/17 01:41:14)
- git-committer:
- GitHub <noreply@…> (04/07/17 01:41:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/pr/pr.py
rc1d5aea r861f1880 329 329 330 330 # If we have a group ID, use it 331 if pr.info.has_key("plot_group_id"):331 if 'plot_group_id' in pr.info: 332 332 new_plot.group_id = pr.info["plot_group_id"] 333 333 new_plot.id = IQ_FIT_LABEL … … 348 348 except: 349 349 err[i] = 1.0 350 print "Error getting error", value, x[i]350 print("Error getting error", value, x[i]) 351 351 352 352 new_plot = Data1D(x, y) … … 356 356 new_plot.yaxis("\\rm{Intensity} ", "cm^{-1}") 357 357 # If we have a group ID, use it 358 if pr.info.has_key("plot_group_id"):358 if 'plot_group_id' in pr.info: 359 359 new_plot.group_id = pr.info["plot_group_id"] 360 360 new_plot.id = IQ_SMEARED_LABEL
Note: See TracChangeset
for help on using the changeset viewer.