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 67f8fd5 commit 110c7c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion caracal/workers/selfcal_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,11 @@ def restore(num, prod_path, mslist_out, enable_inter=True):
print(matrix_type,gupdate)
print('\n\n')
print('(#######################################)')

matrix_type = config[key]['gain_matrix_type'][num - 1 if len(config[key]['gain_matrix_type']) >= num else -1]
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)
Expand Down

0 comments on commit 110c7c2

Please sign in to comment.