- Timestamp:
- May 16, 2014 10: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
- Location:
- src/sans
- Files:
-
- 2 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) -
src/sans/guiframe/gui_manager.py
ra3b635b r51af54b 1958 1958 wx.PostEvent(self, StatusEvent(status="Completed Saving.")) 1959 1959 else: 1960 msg = "%s cannot read %s\n" % (str(APPLICATION_NAME), str(path)) 1960 msg = "No perspective windows are loaded. " 1961 msg += "No data was saved to %s\n" % (str(path)) 1961 1962 logging.error(msg) 1963 wx.PostEvent(self,StatusEvent(status=msg)) 1962 1964 except: 1963 1965 msg = "Error occurred while saving: "
Note: See TracChangeset
for help on using the changeset viewer.