Changeset 1861
- Timestamp:
- May 19, 2015 11:59:25 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASII.py
r1838 r1861 3487 3487 errmsg, warnmsg = G2stIO.ReadCheckConstraints(self.GSASprojectfile) 3488 3488 if errmsg: 3489 self.ErrorDialog('Constraint Error', 3490 'Error in constraints. Refinement not possible.'+ 3491 '\nSee console error message for details.') 3489 self.ErrorDialog('Refinement error',errmsg) 3492 3490 return 3493 3491 if warnmsg: 3494 3492 print('Conflict between refinment flag settings and constraints:\n'+ 3495 3493 warnmsg+'\nRefinement not possible') 3496 3494 self.ErrorDialog('Refinement Flag Error', 3497 'Conflict between refinement flag settings and constraints:\n'+ 3498 warnmsg+ 3499 '\nRefinement not possible') 3495 'Conflict between refinement flag settings and constraints:\n'+ 3496 warnmsg+'\nRefinement not possible') 3500 3497 return 3501 3498 dlg = wx.ProgressDialog('Residual','All data Rw =',101.0, … … 3570 3567 errmsg, warnmsg = G2stIO.ReadCheckConstraints(self.GSASprojectfile) 3571 3568 if errmsg: 3572 self.ErrorDialog('Constraint Error', 3573 'Error in constraints:\n'+errmsg+ 3574 '\nRefinement not possible') 3569 self.ErrorDialog('Refinement error',errmsg) 3575 3570 return 3576 3571 if warnmsg: -
trunk/GSASIIstrIO.py
r1857 r1861 183 183 Histograms,Phases = GetUsedHistogramsAndPhases(GPXfile) 184 184 if not Phases: 185 return 'Error: No Phases!',''185 return 'Error: No phases or no histograms in phases!','' 186 186 if not Histograms: 187 187 return 'Error: no diffraction data',''
Note: See TracChangeset
for help on using the changeset viewer.