Changeset 954c045 in sasview
- Timestamp:
- Apr 2, 2009 9:32:47 AM (16 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:
- e5bfd57
- Parents:
- 470bf7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DataLoader/loader.py
rbbc8013 r954c045 126 126 if ext not in self.loaders: 127 127 self.loaders[ext] = [] 128 self.loaders[ext].insert(0,loader.read) 128 #The first reading will use the reader with only one ext. 129 if len(self.loaders[ext])>0 and len(loader.ext)>2: 130 self.loaders[ext].insert(1,loader.read) 131 else: 132 self.loaders[ext].insert(0,loader.read) 133 129 134 reader_found = True 130 135 131 136 # Keep track of wildcards 132 137 for wcard in loader.type: … … 140 145 self.writers[ext] = [] 141 146 self.writers[ext].insert(0,loader.write) 147 142 148 except: 143 149 logging.error("Loader: Error accessing Reader in %s\n %s" % (name, sys.exc_value))
Note: See TracChangeset
for help on using the changeset viewer.