Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added pyesorex tests to CI for all available recipes #105

Merged
merged 1 commit into from
Feb 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/run_edps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,36 @@ jobs:
export SOF_DATA="$(pwd)/METIS_Pipeline_Test_Data/small202402/outputSmall/"
export SOF_DIR="$(pwd)/METIS_Pipeline_Test_Data/small202402/sofFiles/"
export PYESOREX_OUTPUT_DIR="$SOF_DATA"

# LIST RECIPES
pyesorex --recipes

# DET RECIPES
pyesorex metis_det_lingain "${SOF_DIR}/metis_det_lingain.lm.sof"
pyesorex metis_det_dark "${SOF_DIR}/metis_det_dark.lm.sof"

# IMG LM RECIPES
pyesorex metis_lm_img_distortion "${SOF_DIR}/metis_lm_img_distortion.sof"
pyesorex metis_lm_img_flat "${SOF_DIR}/metis_lm_img_flat.lamp.sof"
pyesorex metis_lm_img_basic_reduce "${SOF_DIR}/metis_lm_img_basic_reduce.std.sof"
pyesorex metis_lm_img_basic_reduce "${SOF_DIR}/metis_lm_img_basic_reduce.sci.sof"
pyesorex metis_lm_img_basic_reduce "${SOF_DIR}/metis_lm_img_basic_reduce.sky.sof"
pyesorex metis_lm_img_background "${SOF_DIR}/metis_lm_img_background.std.sof"
pyesorex metis_lm_img_background "${SOF_DIR}/metis_lm_img_background.sci.sof"
pyesorex metis_lm_img_std_process "${SOF_DIR}/metis_lm_img_std_process.sof"
pyesorex metis_lm_img_calibrate "${SOF_DIR}/metis_lm_img_calibrate.sof"
pyesorex metis_lm_img_sci_postprocess "${SOF_DIR}/metis_lm_img_sci_postprocess.sof"

# IFU RECIPES
pyesorex metis_ifu_distortion "${SOF_DIR}/metis_ifu_distortion.sof"
pyesorex metis_ifu_wavecal "${SOF_DIR}/metis_ifu_wavecal.sof"
pyesorex metis_ifu_rsrf "${SOF_DIR}/metis_ifu_rsrf.sof"
pyesorex metis_ifu_reduce "${SOF_DIR}/metis_ifu_reduce.std.sof"
pyesorex metis_ifu_reduce "${SOF_DIR}/metis_ifu_reduce.sci.sof"
pyesorex metis_ifu_telluric "${SOF_DIR}/metis_ifu_telluric.std.sof"
pyesorex metis_ifu_telluric "${SOF_DIR}/metis_ifu_telluric.sci.sof"
pyesorex metis_ifu_calibrate "${SOF_DIR}/metis_ifu_calibrate.sof"
pyesorex metis_ifu_postprocess "${SOF_DIR}/metis_ifu_postprocess.sof"

# CAL RECIPES
pyesorex metis_cal_chophome "${SOF_DIR}/metis_cal_chophome.sof"
Expand All @@ -84,5 +102,4 @@ jobs:
edps -lw
edps -w metis.metis_wkf -i $SOF_DATA -c
edps -w metis.metis_wkf -i $SOF_DATA -lt
edps -w metis.metis_wkf -i $SOF_DATA -m all | tee edps.stdout.txt
! grep "'FAILED'" edps.stdout.txt
edps -w metis.metis_wkf -i $SOF_DATA -m all | tee edps.stdout.txt ! grep "'FAILED'" edps.stdout.txt