Changeset 2514 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Nov 4, 2016 9:21:09 AM (5 years ago)
Author:
vondreele
Message:

change default for Bank from None to 1 in G2IO
put in patch in G2pwdGUI to fix fail on old gpx files where bank = None

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r2509 r2514  
    15821582        'Reinitialize the Reader to initial settings'
    15831583        ImportBaseclass.ReInitialize(self)
    1584         self.powderentry = ['',None,None] #  (filename,Pos,Bank)
     1584        self.powderentry = ['',None,1] #  (filename,Pos,Bank)
    15851585        self.powderdata = [] # Powder dataset
    15861586        '''A powder data set is a list with items [x,y,w,yc,yb,yd]:
     
    16241624        'Reinitialize the Reader to initial settings'
    16251625        ImportBaseclass.ReInitialize(self)
    1626         self.smallangleentry = ['',None,None] #  (filename,Pos,Bank)
     1626        self.smallangleentry = ['',None,1] #  (filename,Pos,Bank)
    16271627        self.smallangledata = [] # SASD dataset
    16281628        '''A small angle data set is a list with items [x,y,w,yc,yd]:
Note: See TracChangeset for help on using the changeset viewer.