Skip to content

IOLaueTools.writefitfile() savetxt edit

Samuel Tardif requested to merge stardif/lauetools:savetxt_corrections into master

BUG : the IOLaueTools.writefitfile() function was not functioning properly, it did not write the data from the datatooutput array because the np.savetxt() requires a file open as 'wb' (while it was open as 'w' to write header/footer info).

CORRECTION : definer the header and footer strings, then write everything with np.savetxt(outputfilename, datatooutput, fmt="%.6f", header=header, footer=footer, comments="#")

Merge request reports

Loading