Changeset 1523 for trunk/GSASIIstrIO.py


Ignore:
Timestamp:
Oct 7, 2014 12:43:33 PM (7 years ago)
Author:
toby
Message:

change isinstance in patch code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r1496 r1523  
    327327                HKLFdata.update(datum[1][0])        #weight factor
    328328#patch
    329                 if isinstance(datum[1][1],list):
     329                if 'list' in str(type(datum[1][1])):
     330                #if isinstance(datum[1][1],list):
    330331                    RefData = {'RefList':[],'FF':{}}
    331332                    for ref in datum[1][1]:
Note: See TracChangeset for help on using the changeset viewer.