Ignore:
Timestamp:
Oct 15, 2013 12:25:24 PM (9 years ago)
Author:
vondreele
Message:

modify reflection array to be a dictionary with 4 items: RefList?, Uniq, Phi & FF. Each is list. Use patches to convert old format to new in various places.
Fix bug in simulate PWDR code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2sfact_CIF.py

    r1077 r1106  
    155155                #h,k,l,m,dsp,Fo2,sig,Fc2,Fot2,Fct2,phase,...
    156156                ref = HKL+[0,0,0,0,0,0,0,0,[],[],0,{}]
     157#                ref = HKL+[0,0,0,0,0,0,0,0,0]
    157158                if '_refln_f_squared_meas' in itemkeys:
    158159                    try:
     
    212213                    except:
    213214                        pass                               
    214                 self.RefList.append(ref)
     215                self.RefDict['RefList'].append(ref)
     216                self.RefDict['Uniq'].append([])
     217                self.RefDict['Phi'].append([])
     218                self.RefDict['FF'].append({})
    215219            self.UpdateControls(Type='Fosq',FcalcPresent=FcalcPresent) # set Fobs type & if Fcalc values are loaded
    216220            if blk.get('_diffrn_radiation_probe'):
Note: See TracChangeset for help on using the changeset viewer.