Skip to content

Commit

Permalink
fix qa check
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Sep 20, 2024
1 parent 1283a16 commit a293c03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/specprodDB/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ def patch_tiles(src_tiles, dst_tiles, timestamp):
# QA check.
#
for column in dst_tiles_patched.colnames:
assert np.isfinite(dst_tiles_patched[column]).all()
if dst_tiles_patched[column].dtype.kind == 'f':
assert np.isfinite(dst_tiles_patched[column]).all()
return dst_tiles_patched


Expand Down

0 comments on commit a293c03

Please sign in to comment.