We had conflated the file header (once per file) with the scan header
(SHOULD be once per scan) and were thus only writing a scan header for
the first scan in a file.
Verified with CHX data that pymca 5.5.4 that the the output from master branch issues error messages in the terminal (a wall of Error on scan 1 line 2) and not-useful display in the GUI, whereas this PR branch is all good.
We had conflated the file header (once per file) with the scan header (SHOULD be once per scan) and were thus only writing a scan header for the first scan in a file.
Verified with CHX data that pymca 5.5.4 that the the output from
master
branch issues error messages in the terminal (a wall ofError on scan 1 line 2
) and not-useful display in the GUI, whereas this PR branch is all good.Before:
After: