Changeset 1329 for trunk/exports


Ignore:
Timestamp:
May 6, 2014 12:19:05 PM (8 years ago)
Author:
vondreele
Message:

fix export of topas xye data - comments need /* & */ delimiters (ugh!)
implement reverse & copy forward for SASD sequential fits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/exports/G2export_pwdr.py

    r1299 r1329  
    146146            self.OpenFile()
    147147            histblk = self.Histograms[hist]
    148             self.Write('# '+hist[5:])
     148            self.Write('/*')    #The ugly c comment delimiter used in topas!
     149            self.Write('# '+hist[5:])  #evidently this by itself fails in topas
     150            self.Write('*/')
    149151            x = np.array(histblk['Data'][0])
    150152            # convert weights to sigmas; use largest weight as minimum esd
Note: See TracChangeset for help on using the changeset viewer.