Skip to content

Commit

Permalink
grab correct file name fro valid file for catchup
Browse files Browse the repository at this point in the history
  • Loading branch information
imedan committed Sep 7, 2023
1 parent 3905b11 commit 69984c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/RS_to_targetdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@
plan=plan,
observatory=observatory,
fieldid=fieldid).split('/')[-1]
if type_ing == 'rs_catchup':
# get the catchup file
file = file.replace('final', 'catchup').replace('Final', 'Catchup%s' % ver_catch)

ind = np.where((valid_results['file_name'] == file) &
(valid_results['exp'] == i))[0][0]
Expand Down

0 comments on commit 69984c8

Please sign in to comment.