Changeset 1985 for trunk/GSASII.py


Ignore:
Timestamp:
Oct 5, 2015 2:05:04 PM (6 years ago)
Author:
toby
Message:

fix CIF import where ? is used for Uiso value and where iso/aniso type is inferred

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1971 r1985  
    284284            except AttributeError:
    285285                print 'Import_'+errprefix+': Attribute Error '+str(filename)
    286                 pass
    287             except ImportError:
    288                 print 'Import_'+errprefix+': Error importing file '+str(filename)
    289                 pass
     286            #except ImportError:
     287            #    print 'Import_'+errprefix+': Error importing file '+str(filename)
     288            except Exception,errmsg:
     289                print('\nImport_'+errprefix+': Error importing file '+str(filename))
     290                print('Error message: '+str(errmsg)+'\n')
    290291            if fp: fp.close()
    291292
Note: See TracChangeset for help on using the changeset viewer.