IAU-ADES / ADES-Master

ADES implementation based on a master XML file
26 stars 7 forks source link

fix mpc80coltoxml failing without nosplit #30

Closed stevenstetzler closed 9 months ago

stevenstetzler commented 9 months ago

This PR attempts to fix mpc80coltoxml failing to convert when not splitting radar lines.

The reason that the 85_test.obs file was not passing was because it had header information included in it. The issue was that splitRadar would call parseRadar on the header lines and fail to parse them. I've made a change in splitRadar to simply yield the line for parsing if it is a header line. The file then seems to be parsed in the same way that it is parsed when the --nosplit argument is used. This issue wasn't present with --nosplit because doNotSplitRadar simply yielded lines from the file without doing any further parsing.