Skip to content

Commit

Permalink
fix desi test
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Jul 31, 2024
1 parent 5fdd1fc commit 35e5e8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ jobs:
cd templ_data_sdss/
wget -q -r -np -nd https://people.ast.cam.ac.uk/~koposov/files/rvspecfit_files/v2407/templ_data_sdss/
cd ../data/
wget https://data.desi.lbl.gov/public/edr/spectro/redux/fuji/healpix/sv1/bright/103/10378/coadd-sv1-bright-10378.fits
wget -q https://data.desi.lbl.gov/public/edr/spectro/redux/fuji/healpix/sv1/bright/103/10378/coadd-sv1-bright-10378.fits
wget -q https://data.desi.lbl.gov/public/edr/spectro/redux/fuji/healpix/sv1/bright/104/10402/redrock-sv1-bright-10402.fits
cd ..
- name: Testing
run: |
Expand Down
5 changes: 4 additions & 1 deletion tests/scripts/desi_fit.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash -e

rvs_desi_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=2 ./tests/coadd-sv1-bright-10378.fits --process_status_file /tmp/tests_desi.status
rvs_desi_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=2 ./tests/data/coadd-sv1-bright-10378.fits --process_status_file /tmp/tests_desi.status

# 1 thread for coverage
rvs_desi_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 ./tests/data/coadd-sv1-bright-10378.fits --process_status_file /tmp/tests_desi.status

0 comments on commit 35e5e8a

Please sign in to comment.