Changeset 4017


Ignore:
Timestamp:
Jun 6, 2019 5:20:14 AM (2 years ago)
Author:
vondreele
Message:

fix input of saved background parms with peaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r4016 r4017  
    12361236                newback[0] = eval(S[:-1])
    12371237                S = File.readline()               
    1238                 while S:
     1238                while S and ':' in S:
    12391239                    [item,vals] = S[:-1].split(':')
    12401240                    if item in ['nPeaks','nDebye']:
     
    12421242                    elif 'PWDR' in item:
    12431243                        newback[1][item] = eval(vals)
    1244                     elif item in ['FixedPoints','debyeTerms','peakList']:
     1244                    elif item in ['FixedPoints','debyeTerms','peaksList']:
    12451245                        newback[1][item] = []
    12461246                        S = File.readline()
Note: See TracChangeset for help on using the changeset viewer.