Skip to content

Commit

Permalink
Update test_fafiles.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyjross committed Apr 21, 2024
1 parent 871e1a4 commit 51357f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/test_fafiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
import fitsio
from glob import glob

fls = glob('/dvs_ro/cfs/cdirs/desi/survey/fiberassign/main/*/targ.fits')
fls = glob('/dvs_ro/cfs/cdirs/desi/survey/fiberassign/main/*/*targ.fits')

for fl in fls:
try:
f = fitsio.read(fl,rows=1)
except:
print(fl)

fls = glob('/dvs_ro/cfs/cdirs/desi/survey/fiberassign/main/*/sky.fits')
fls = glob('/dvs_ro/cfs/cdirs/desi/survey/fiberassign/main/*/*sky.fits')

for fl in fls:
try:
f = fitsio.read(fl,rows=1)
except:
print(fl)

fls = glob('/dvs_ro/cfs/cdirs/desi/survey/fiberassign/main/*/sncd.fits')
fls = glob('/dvs_ro/cfs/cdirs/desi/survey/fiberassign/main/*/*sncd.fits')

for fl in fls:
try:
Expand Down

0 comments on commit 51357f0

Please sign in to comment.