Changeset 1675


Ignore:
Timestamp:
Feb 27, 2015 2:31:31 PM (7 years ago)
Author:
vondreele
Message:

fix but in export powder fxye file. Bad format for profile coeffs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/exports/G2export_pwdr.py

    r1329 r1675  
    5656        self.Write(('INS  1DETAZM%10.3f                                                          ')%(Inst['Azimuth'][0]))
    5757        self.Write( 'INS  1PRCF1     3    8   0.00100                                                ')
    58         self.Write(('INS  1PRCF11     %15.6g%15.6g%15.6g%15.6g   ')%(Inst['U'][1],Inst['V'][1],Inst['W'][1],0.0))
    59         self.Write(('INS  1PRCF12     %15.6g%15.6g%15.6g%15.6g   ')%(Inst['X'][1],Inst['Y'][1],Inst['SH/L'][1]/2.,Inst['SH/L'][1]/2.))
     58        self.Write(('INS  1PRCF11%15.6e%15.6e%15.6e%15.6e   ')%(Inst['U'][1],Inst['V'][1],Inst['W'][1],0.0))
     59        self.Write(('INS  1PRCF12%15.6e%15.6e%15.6e%15.6e   ')%(Inst['X'][1],Inst['Y'][1],Inst['SH/L'][1]/2.,Inst['SH/L'][1]/2.))
    6060        self.CloseFile()
    6161        print('Parameters from '+str(hist)+' written to file '+str(prmname))
Note: See TracChangeset for help on using the changeset viewer.