Keck-DataReductionPipelines / KCWI_DRP

KCWI python DRP
BSD 3-Clause "New" or "Revised" License
9 stars 14 forks source link

Running the pipeline on a remote directory using -d results in confusing file locations #50

Closed MNBrod closed 3 years ago

MNBrod commented 3 years ago

If you use the -d flag, when looking for created files (e.g. _mbias) the pipeline looks for the redux folder where the proc table is located, which leads to errors. It should direct to the directory where the pipeline was instantiated from (which is where /redux lives). The files it looks for is datadir/KOAID_mbias.fits, when it should look for cwd/redux/KOAID_mbias.fits, where datadir is the directory with the raw data inside, and cwd is the current working directory.

MNBrod commented 3 years ago

Resolved with #62.