Ignore:
Timestamp:
Apr 27, 2015 1:22:06 PM (7 years ago)
Author:
vondreele
Message:

make new ranId for phases imported from gpx files
eliminate all raise Exceptions from Refine & seqRefine - now gives a ErrorMessage? popup upon e.g. user abort.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2phase_GPX.py

    r1168 r1812  
    1717import sys
    1818import cPickle
     19import random as ran
    1920import GSASIIIO as G2IO
    2021import GSASIIstrIO as G2stIO
     
    6768            self.Phase['Histograms'] = {}       #remove any histograms
    6869            self.Phase['Pawley ref'] = []       # & any Pawley refl.
     70            self.Phase['ranId'] = ran.randint(0,sys.maxint)
    6971            return True
    7072        except Exception as detail:
Note: See TracChangeset for help on using the changeset viewer.