Changeset 524 for trunk/GSASII.py


Ignore:
Timestamp:
Apr 2, 2012 11:15:08 AM (10 years ago)
Author:
toby
Message:

fix cif bug; add print traceback on some exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r523 r524  
    290290                    flag = rd.Reader(file,fp,self)
    291291                except:
     292                    import traceback
     293                    print traceback.format_exc()
    292294                    self.ErrorDialog('Error reading file '+file
    293295                        +' with format '+ rd.formatName,'Read Error')
     
    315317                return # success
    316318        except:
     319            import traceback
     320            print traceback.format_exc()
    317321            self.ErrorDialog('Error on open of file '+file,'Open Error')
    318322        finally:
Note: See TracChangeset for help on using the changeset viewer.