Skip to content

Commit

Permalink
aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil8 committed Dec 17, 2024
1 parent cceed0a commit 67f8fd5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion caracal/workers/selfcal_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1822,12 +1822,19 @@ def restore(num, prod_path, mslist_out, enable_inter=True):
"model-ddes": 'never',
}
# Set the table name
print('(#######################################)')
print(matrix_type,gupdate)
print('\n\n')
print('(#######################################)')

if gupdate == 'phase-diag' and matrix_type == 'Fslope':
g_table_name = "{0:s}/{3:s}-g-delay-gains-{1:d}-{2:s}.parmdb:output".format(get_dir_path(prod_path,
pipeline), num, os.path.splitext(fromname)[0], prefix)
pipeline), num, os.path.splitext(fromname)[0], prefix)
print("HERE")
elif gupdate == 'phase-diag':
g_table_name = "{0:s}/{3:s}-g-phase-gains-{1:d}-{2:s}.parmdb:output".format(get_dir_path(prod_path,
pipeline), num, os.path.splitext(fromname)[0], prefix)
print("THERE")
elif gupdate == 'amp-diag':
g_table_name = "{0:s}/{3:s}-g-amp-gains-{1:d}-{2:s}.parmdb:output".format(get_dir_path(prod_path,
pipeline), num, os.path.splitext(fromname)[0], prefix)
Expand Down

0 comments on commit 67f8fd5

Please sign in to comment.