Changeset fd5ac0d in sasview for src/sas/dataloader/readers
- Timestamp:
- Feb 13, 2015 5:26:52 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:
- 7a04dbb
- Parents:
- b9a5f0e
- Location:
- src/sas/dataloader/readers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/dataloader/readers/associations.py
r79492222 rfd5ac0d 22 22 23 23 ## Format version for the XML settings file 24 VERSION = 'sa nsloader/1.0'24 VERSION = 'sasloader/1.0' 25 25 26 26 … … 54 54 55 55 # Read in the file extension associations 56 entry_list = root.xpath('/ns:Sa nsLoader/ns:FileType',56 entry_list = root.xpath('/ns:SasLoader/ns:FileType', 57 57 namespaces={'ns': VERSION}) 58 58 -
src/sas/dataloader/readers/danse_reader.py
r79492222 rfd5ac0d 35 35 type_name = "DANSE" 36 36 ## Wildcards 37 type = ["DANSE files (*.sa s)|*.sas"]37 type = ["DANSE files (*.sans)|*.sans"] 38 38 ## Extension 39 ext = ['.sa s', '.SANS']39 ext = ['.sans', '.SANS'] 40 40 41 41 def read(self, filename=None): -
src/sas/dataloader/readers/defaults.xml
r79492222 rfd5ac0d 1 1 <?xml version="1.0"?> 2 <Sa nsLoader version="1.0"3 xmlns="sa nsloader/1.0"2 <SasLoader version="1.0" 3 xmlns="sasloader/1.0" 4 4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 5 5 > … … 18 18 <FileType extension='.nxs' reader='nexus_reader'/> 19 19 20 </Sa nsLoader>20 </SasLoader> 21 21
Note: See TracChangeset
for help on using the changeset viewer.