Ignore:
Timestamp:
Oct 15, 2013 3:01:21 PM (8 years ago)
Author:
vondreele
Message:

make reflist np.array
fix bug - hfx+'Type' needs to be in parmDict

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2sfact_CIF.py

    r1106 r1107  
    154154                        HKL.append('.')
    155155                #h,k,l,m,dsp,Fo2,sig,Fc2,Fot2,Fct2,phase,...
    156                 ref = HKL+[0,0,0,0,0,0,0,0,[],[],0,{}]
    157 #                ref = HKL+[0,0,0,0,0,0,0,0,0]
     156                ref = HKL+[0,0,0,0,0, 0,0,0,0,0, 0]
    158157                if '_refln_f_squared_meas' in itemkeys:
    159158                    try:
     
    217216                self.RefDict['Phi'].append([])
    218217                self.RefDict['FF'].append({})
     218            self.RefDict['RefList'] = np.array(self.RefDict['RefList'])
    219219            self.UpdateControls(Type='Fosq',FcalcPresent=FcalcPresent) # set Fobs type & if Fcalc values are loaded
    220220            if blk.get('_diffrn_radiation_probe'):
Note: See TracChangeset for help on using the changeset viewer.