Changeset 9525358 in sasview for src/sas/sascalc/dataloader
- Timestamp:
- Feb 24, 2017 9:29:18 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:
- b61bd57
- Parents:
- 3d55219
- 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.