Changeset 3246 for trunk/GSASIIdataGUI.py
- Timestamp:
- Jan 28, 2018 8:56:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIdataGUI.py
r3245 r3246 24 24 import sys 25 25 import os 26 import glob27 import imp26 #import glob 27 #import imp 28 28 import inspect 29 29 if '2' in platform.python_version_tuple()[0]: … … 6675 6675 # sort out the variables in their selected order 6676 6676 varcols = 0 6677 for d in posdict. itervalues():6677 for d in posdict.values(): 6678 6678 varcols = max(varcols,max(d.keys())+1) 6679 6679 # get labels for each column … … 6756 6756 6757 6757 # add atom parameters to table 6758 colLabels += list(atomLookup.keys())6758 colLabels += sorted(atomLookup.keys()) 6759 6759 for parm in sorted(atomLookup): 6760 6760 G2frame.colList += [[data[name]['newAtomDict'][atomLookup[parm]][1] for name in histNames]] … … 6830 6830 # Also dicts of variables 6831 6831 # for Parametric fitting from the data table 6832 parmDict = dict(zip(colLabels, zip(*G2frame.colList)[0])) # scratch dict w/all values in table6832 parmDict = dict(zip(colLabels,list(zip(*G2frame.colList))[0])) # scratch dict w/all values in table 6833 6833 parmDict.update({var:val for var,val in newCellDict.values()}) # add varied reciprocal cell terms 6834 6834 del parmDict['Use']
Note: See TracChangeset
for help on using the changeset viewer.