Changeset 475 for trunk/G2importphase.py
- Timestamp:
- Feb 7, 2012 3:21:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/G2importphase.py
r469 r475 1 1 # a set of short routines to read in phases from various file formats 2 2 # 3 import sys 4 import traceback 3 5 import GSASIIIO as G2IO 4 6 … … 21 23 self.Phase = G2IO.ReadPDBPhase(filename) 22 24 return True 23 except: 25 except Exception as detail: 26 print 'PDB read error:',detail # for testing 24 27 return False 25 28 … … 46 49 self.Phase = G2IO.ReadEXPPhase(ParentFrame, filename) 47 50 return True 48 except: 51 except Exception as detail: 52 print 'GSAS .EXP read error:',detail # for testing 53 traceback.print_exc(file=sys.stdout) 49 54 return False
Note: See TracChangeset
for help on using the changeset viewer.