Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Jul 31, 2024
1 parent c6082c7 commit 709c3fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/scripts/desi_fit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ echo 39628422527323686 > /tmp/targetids
echo 39628422531515839 >> /tmp/targetids
$RVS_FIT --output_dir ./tests_desi_output --no_subdirs --minsn=2 --config tests/yamls/config_desi.yaml --objtypes='SCND_ANY,MWS_ANY,STD_*' --throw_exceptions --zbest_include --nthreads=1 --process_status_file /tmp/tests_desi.status --log_level=DEBUG --targetid_file_from=/tmp/targetids --doplot tests/data/coadd-sv1-bright-10378.fits

# this should create an internal exception
$RVS_FIT --output_dir ./tests_desi_output --no_subdirs --minsn=2 --config tests/yamls/config_desi.yaml --objtypes='SCND_ANY,MWS_ANY,STD_*' --zbest_include --nthreads=1 --process_status_file /tmp/tests_desi.status --log_level=INFO --fig_prefix='/a/a/fig' --targetid_file_from=/tmp/targetids --doplot tests/data/coadd-sv1-bright-10378.fits

$RVS_FIT --output_dir ./tests_desi_output --no_subdirs --minsn=2 --config tests/yamls/config_desi.yaml --objtypes='SCND_ANY,MWS_ANY,STD_*' --throw_exceptions --zbest_include --nthreads=1 --process_status_file /tmp/tests_desi.status --log_level=INFO --fit_arm=B --targetid_file_from=/tmp/targetids --doplot tests/data/coadd-sv1-bright-10378.fits
# fit_arm
$RVS_FIT --output_dir ./tests_desi_output --no_subdirs --minsn=2 --config tests/yamls/config_desi.yaml --objtypes='SCND_ANY,MWS_ANY,STD_*' --throw_exceptions --zbest_include --nthreads=1 --process_status_file /tmp/tests_desi.status --log_level=INFO --fit_arm=B --targetid_file_from=/tmp/targetids tests/data/coadd-sv1-bright-10378.fits

# skip existing
$RVS_FIT --output_dir ./tests_desi_output --no_subdirs --minsn=2 --config tests/yamls/config_desi.yaml --objtypes='SCND_ANY,MWS_ANY,STD_*' --throw_exceptions --zbest_include --nthreads=1 --process_status_file /tmp/tests_desi.status --log_level=INFO --skipexisting tests/data/coadd-sv1-bright-10378.fits
Expand Down

0 comments on commit 709c3fa

Please sign in to comment.