Ignore:
Timestamp:
Jan 28, 2018 8:56:19 PM (5 years ago)
Author:
toby
Message:

cif export: use sig for x,x,x positions etc; column order for seq table atom positions; misc Py3 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r3245 r3246  
    2424import sys
    2525import os
    26 import glob
    27 import imp
     26#import glob
     27#import imp
    2828import inspect
    2929if '2' in platform.python_version_tuple()[0]:
     
    66756675    # sort out the variables in their selected order
    66766676    varcols = 0
    6677     for d in posdict.itervalues():
     6677    for d in posdict.values():
    66786678        varcols = max(varcols,max(d.keys())+1)
    66796679    # get labels for each column
     
    67566756
    67576757    # add atom parameters to table
    6758     colLabels += list(atomLookup.keys())
     6758    colLabels += sorted(atomLookup.keys())
    67596759    for parm in sorted(atomLookup):
    67606760        G2frame.colList += [[data[name]['newAtomDict'][atomLookup[parm]][1] for name in histNames]]
     
    68306830    # Also dicts of variables
    68316831    # for Parametric fitting from the data table
    6832     parmDict = dict(zip(colLabels,zip(*G2frame.colList)[0])) # scratch dict w/all values in table
     6832    parmDict = dict(zip(colLabels,list(zip(*G2frame.colList))[0])) # scratch dict w/all values in table
    68336833    parmDict.update({var:val for var,val in newCellDict.values()}) #  add varied reciprocal cell terms
    68346834    del parmDict['Use']
Note: See TracChangeset for help on using the changeset viewer.