Changeset cb05bfd in sasview for src/sas/sascalc/dataloader
- Timestamp:
- Feb 24, 2017 7:35:37 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.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- be36447, b61bd57, 587ce8c
- Parents:
- 18da4a8 (diff), 9525358 (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@…> (02/24/17 07:35:37)
- git-committer:
- GitHub <noreply@…> (02/24/17 07:35:37)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/sesans_reader.py
r345e7e4 r9525358 166 166 output.dlam, output.dlam_unit = self._unit_conversion(dlam, lam_unit, default_z_unit) 167 167 168 output.xaxis( "\rm{z}", output.x_unit)169 output.yaxis( "\\rm{P/P0}", output.y_unit)168 output.xaxis(r"\rm{z}", output.x_unit) 169 output.yaxis(r"\rm{P/P0}", output.y_unit) 170 170 # Store loading process information 171 171 output.meta_data['loader'] = self.type_name … … 175 175 zaccept_unit_split = paramnames[7].split("[") 176 176 zaccept_unit = zaccept_unit_split[1].replace("]","") 177 if zaccept_unit.strip() == '\AA^-1':177 if zaccept_unit.strip() == r'\AA^-1': 178 178 zaccept_unit = "1/A" 179 179 output.sample.zacceptance=(float(paramvals[7]),zaccept_unit)
Note: See TracChangeset
for help on using the changeset viewer.