Changeset 3994 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
May 23, 2019 4:02:59 PM (2 years ago)
Author:
vondreele
Message:

clean finish if Dysonmia fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r3993 r3994  
    29922992        reflDict[hash('%5d%5d%5d'%(ref[0],ref[1],ref[2]))] = iref
    29932993    fbaName = os.path.splitext(prfName)[0]+'.fba'
    2994     fba = open(fbaName,'r')
     2994    try:
     2995        fba = open(fbaName,'r')
     2996    except FileNotFoundError:
     2997        return False
    29952998    fba.readline()
    29962999    Nref = int(fba.readline()[:-1])
     
    30083011        reflData[refId][8] = Fosq
    30093012        reflData[refId][10] = phase
     3013    return True
    30103014   
    30113015#testing data
Note: See TracChangeset for help on using the changeset viewer.