gamma-cat
gamma-cat copied to clipboard
Implement reference_id / source_id vs folder / file name consistency check
I just noticed that we had SED input/papers/2007/2007A%26A...472..489A/tev-000115.ecsv
in the input folder, but it wasn't present in the output folder:
$ find . -name '*000115*'
./input/papers/2007/2007A%26A...472..489A/tev-000115.ecsv
./input/papers/2007/2007A%26A...472..489A/tev-000115.yaml
./input/sources/tev-000115.yaml
The reason was that source_id
in the input file was incorrect.
Fixed in 201c1980311e41c99b1e955ecfcb00f17707c608 .
This is a reminder issue for myself that I should implement a consistency check for the input header keys reference_id
and source_id
versus the folder and file names.
I've removed docs/data/sources/000132/gammacat_000132_2007A%26A...472..489A_sed.ecsv
, which was an SED file put for the wrong source 132 as a result of the data entry error mentioned above in 4e5352e .
I think this issue is the same or nearly the same as issue #126, isn't it?