| iotbx.file_reader | index /net/chevy/raid1/rwgk/dist/cctbx_project/iotbx/file_reader.py |
# this will try to guess file type based on extensions. since this will
# frequently break, it will also try every other file type if necessary,
# stopping when it finds an appropriate format.
| Modules | ||||||
| ||||||
| Functions | ||
| ||
| Data | ||
| compression_extensions = ['gz', 'Z', 'bz2', 'zip'] standard_file_descriptions = {'cif': 'Restraints', 'hkl': 'Reflections', 'map': 'Map', 'pdb': 'Model', 'phil': 'Parameters', 'pkl': 'Python pickle', 'seq': 'Sequence', 'txt': 'Text', 'xml': 'XML'} standard_file_extensions = {'cif': ['cif'], 'hkl': ['mtz', 'hkl', 'sca', 'cns', 'xplor', 'cv', 'ref'], 'map': ['map', 'ccp4'], 'pdb': ['pdb', 'ent'], 'phil': ['params', 'eff', 'def', 'phil'], 'pkl': ['pickle', 'pkl'], 'seq': ['fa', 'faa', 'seq', 'pir', 'dat'], 'txt': ['txt', 'log', 'html'], 'xml': ['xml']} standard_file_types = ['hkl', 'map', 'pdb', 'cif', 'phil', 'seq', 'xml', 'pkl', 'txt'] | ||