Changeset b42f56e in sasview
- Timestamp:
- May 15, 2014 11:41:27 AM (11 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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- bb1b892
- Parents:
- 7a67f4da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/dataloader/readers/cansas_reader.py
ra3b635b rb42f56e 863 863 mod_name = frm[1].replace("\\", ".").replace(".pyc", "") 864 864 mod_name = mod_name.replace(".py", "") 865 mod = mod_name.split("src.") 866 if len(mod) == 1: 867 mod_name = mod[0] 868 else: 869 mod_name = mod[1] 870 if mod_name != "sans.dataloader.readers.cansas_reader": 865 mod = mod_name.split(".") 866 last_value = len(mod) - 1 867 mod_name = mod[last_value] 868 if mod_name != "cansas_reader": 871 869 string = self.to_string(doc, pp=False) 872 870 doc = parseString(string)
Note: See TracChangeset
for help on using the changeset viewer.