Changeset 5d8f9b3 in sasview for src/sas/sascalc/data_util
- Timestamp:
- Apr 20, 2017 3:03:34 PM (8 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 371b9e2
- Parents:
- 7a5d066
- git-author:
- Jeff Krzywon <krzywon@…> (04/20/17 15:03:34)
- git-committer:
- krzywon <krzywon@…> (04/20/17 15:03:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/data_util/registry.py
r7f75a3f r5d8f9b3 1 # This program is public domain2 1 """ 3 2 File extension registry. … … 22 21 # Add an association by setting an element 23 22 registry['.zip'] = unzip 24 23 25 24 # Multiple extensions for one loader 26 25 registry['.tgz'] = untar … … 38 37 # Show registered extensions 39 38 print registry.extensions() 40 39 41 40 # Can also register a format name for explicit control from caller 42 41 registry['cx3'] = cx3
Note: See TracChangeset
for help on using the changeset viewer.