@@ -62,7 +62,7 @@ def Reader(self,filename, ParentFrame=None, **unused):
6262 Fo = float (Fo )
6363 sigFo = float (sigFo )
6464 # h,k,l,m,dsp,Fo2,sig,Fc2,Fot2,Fct2,phase,...
65- self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ** 2 ,2. * Fo * sigFo ,0 ,Fo ** 2 ,0 ,0 ,0 ])
65+ self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ** 2 ,2. * Fo * sigFo ,0 ,Fo ** 2 ,0 ,0 ,1 ])
6666 fp .close ()
6767 self .errors = 'Error after reading reflections (unexpected!)'
6868 self .RefDict ['RefList' ] = np .array (self .RefDict ['RefList' ])
@@ -106,7 +106,7 @@ def Reader(self,filename, ParentFrame=None, **unused):
106106 if Fo < 1.0 :
107107 sigFo2 = 1.0
108108 # h,k,l,m,tw,dsp,Fo2,sig,Fc2,Fot2,Fct2,phase,...
109- self .RefDict ['RefList' ].append ([h ,k ,l ,m ,1 ,0 ,Fo ** 2 ,sigFo2 ,0 ,Fo ** 2 ,0 ,0 ,0 ])
109+ self .RefDict ['RefList' ].append ([h ,k ,l ,m ,1 ,0 ,Fo ** 2 ,sigFo2 ,0 ,Fo ** 2 ,0 ,0 ,1 ])
110110 fp .close ()
111111 self .errors = 'Error after reading reflections (unexpected!)'
112112 self .RefDict ['RefList' ] = np .array (self .RefDict ['RefList' ])
@@ -158,7 +158,7 @@ def Reader(self,filename, ParentFrame=None, **unused):
158158 Fo = float (Fo )
159159 sigFo = float (sigFo )
160160 # h,k,l,m,dsp,Fo2,sig,Fc2,Fot2,Fct2,phase,...
161- self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,0 ])
161+ self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,1 ])
162162 #self.RefDict['FF'].append({}) # now done in OnImportSfact
163163 fp .close ()
164164 self .errors = 'Error after reading reflections (unexpected!)'
@@ -252,9 +252,9 @@ def Reader(self,filename, ParentFrame=None, **unused):
252252 sigFo = float (sigFo )
253253 # h,k,l,m,dsp,Fo2,sig,Fc2,Fot2,Fct2,phase,...
254254 if self .Super == 0 :
255- self .RefDict ['RefList' ].append ([h ,k ,l ,int (Tw ),0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,0 ])
255+ self .RefDict ['RefList' ].append ([h ,k ,l ,int (Tw ),0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,1 ])
256256 elif self .Super == 1 :
257- self .RefDict ['RefList' ].append ([h ,k ,l ,m1 ,int (Tw ),0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,0 ])
257+ self .RefDict ['RefList' ].append ([h ,k ,l ,m1 ,int (Tw ),0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,1 ])
258258 TwMax [0 ] = max (TwMax [0 ],TwId )
259259 fp .close ()
260260 self .errors = 'Error after reading reflections (unexpected!)'
@@ -430,9 +430,9 @@ def Reader(self,filename,filepointer, ParentFrame=None, **unused):
430430 sigFo = float (sigFo )
431431 # h,k,l,m,dsp,Fo2,sig,Fc2,Fot2,Fct2,phase,...
432432 if self .Super == 0 :
433- self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,0 ])
433+ self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,1 ])
434434 elif self .Super == 1 :
435- self .RefDict ['RefList' ].append ([h ,k ,l ,m1 ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,0 ])
435+ self .RefDict ['RefList' ].append ([h ,k ,l ,m1 ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,1 ])
436436 fp .close ()
437437 self .errors = 'Error after reading reflections (unexpected!)'
438438 self .RefDict ['RefList' ] = np .array (self .RefDict ['RefList' ])
@@ -510,10 +510,10 @@ def Reader(self,filename, ParentFrame=None, **unused):
510510 wave = float (wave )
511511 tbar = float (tbar )
512512 if len (self .Banks ):
513- self .Banks [int (bN )- 1 ]['RefDict' ]['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,0 ,wave ,tbar ])
513+ self .Banks [int (bN )- 1 ]['RefDict' ]['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,1 ,wave ,tbar ])
514514 else :
515515 # h,k,l,m,dsp,Fo2,sig,Fc2,Fot2,Fct2,phase,...
516- self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,0 ,wave ,tbar ])
516+ self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,1 ,wave ,tbar ])
517517 fp .close ()
518518 if len (self .Banks ):
519519 self .UpdateParameters (Type = 'SNT' ,Wave = None ) # histogram type
@@ -583,7 +583,7 @@ def Reader(self,filename,filepointer, ParentFrame=None, **unused):
583583 wave = float (wave )
584584 tbar = float (tbar )
585585 if len (self .Banks ):
586- self .Banks [int (bN )- 1 ]['RefDict' ]['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,0 ,wave ,tbar ])
586+ self .Banks [int (bN )- 1 ]['RefDict' ]['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,1 ,wave ,tbar ])
587587 else :
588588 # h,k,l,m,dsp,Fo2,sig,Fc2,Fot2,Fct2,phase,...
589589 self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,0 ,wave ,tbar ])
@@ -646,7 +646,7 @@ def Reader(self,filename,filepointer, ParentFrame=None, **unused):
646646 Fo = float (Fo )
647647 sigFo = float (sigFo )
648648 # h,k,l,m,dsp,Fo2,sig,Fc2,Fot2,Fct2,phase,...
649- self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,0 ])
649+ self .RefDict ['RefList' ].append ([h ,k ,l ,1 ,0 ,Fo ,sigFo ,0 ,Fo ,0 ,0 ,1 ])
650650 fp .close ()
651651 self .RefDict ['RefList' ] = np .array (self .RefDict ['RefList' ])
652652 self .RefDict ['Type' ] = 'SNC'
0 commit comments