Skip to content

Commit

Permalink
Bug Fixed related to idi2ms on changed PCONVT
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarcote committed Sep 5, 2023
1 parent 0afc6ad commit 9784c82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion evn_postprocess/process_eee.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,8 @@ def post_polconvert(exp) -> Optional[bool]:
if any(['_1_1' in pp.name for pp in pconverted_idi]):
_ = environment.shell_command("idi2ms.py", ['--delete',
f"{exp.correlator_passes[0].msfile.name.replace('.ms', '-pconv.ms')}",
','.join([idi.name for idi in pconverted_idi if '_1_1' in idi.name])])
','.join([idi.name.replace('.PCONVERT', '') for idi in pconverted_idi \
if '_1_1' in idi.name])])
if exp.refant is not None:
refant = exp.refant[0] if len(exp.refant) == 1 else f"({'|'.join(exp.refant)})"
else:
Expand Down

0 comments on commit 9784c82

Please sign in to comment.