njcuk9999 / apero-drs

A PipelinE to Reduce Observations - The DRS for SPIRou (CFHT)
MIT License
12 stars 0 forks source link

[APERO] Allow running `apero_reject.py` on multiple identifiers at once #767

Closed vandalt closed 2 months ago

vandalt commented 2 months ago

For cases where many files are rejected using filenames, having the option to pass multiple identifiers at once would be useful.

My understanding by quickly looking at the code is this is not currently possible. The workaround to use a bash loop works, but is a bit less safe and requires confirming and uploading for each file.

njcuk9999 commented 2 months ago

Okay I think these changes work now. I have done as follows:

This should work for all instruments but probably needs testing.

I'll see if I can add a "date added" column because that would make it easier to debug problems afterwards

njcuk9999 commented 2 months ago

Okay should have a DATE_ADDED column now too (turns out inside apero I was adding this column any way)