Changeset 51af54b in sasview for src/sans/dataloader
- Timestamp:
- May 16, 2014 8:37:47 AM (10 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:
- d497189
- Parents:
- bb1b892
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/dataloader/readers/cansas_reader.py
rbb1b892 r51af54b 860 860 # If the calling function was not the cansas reader, return a minidom 861 861 # object rather than an lxml object. 862 863 862 frm = inspect.stack()[1] 864 863 mod_name = frm[1].replace("\\", "/").replace(".pyc", "") 865 864 mod_name = mod_name.replace(".py", "") 866 mod = mod_name.split(" /readers/")865 mod = mod_name.split("sans/") 867 866 mod_name = mod[1] 868 if mod_name != " cansas_reader":867 if mod_name != "dataloader/readers/cansas_reader": 869 868 string = self.to_string(doc, pp=False) 870 869 doc = parseString(string)
Note: See TracChangeset
for help on using the changeset viewer.