Changeset 3254 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Feb 1, 2018 12:44:02 PM (4 years ago)
Author:
vondreele
Message:

fix XsSave? names problem (G2IO)
try to get ProgressBar? box to stay on top
various fixes for entering modulated & modulated magnetic structures from scratch
fix import of super lattice structure factors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r3246 r3254  
    799799    return Id       #last powder pattern generated
    800800   
    801 def XYsave(G2frame,XY,labelX='X',labelY='Y',names=None):
     801def XYsave(G2frame,XY,labelX='X',labelY='Y',names=[]):
    802802    'Save XY table data'
    803803    pth = G2G.GetExportPath(G2frame)
     
    817817        return
    818818    for i in range(len(XY)):
    819         if names != None:
     819        if len(names):
    820820            header = '%s,%s(%s)\n'%(labelX,labelY,names[i])
    821821        else:
Note: See TracChangeset for help on using the changeset viewer.