Code do_RMsynth_3D breaks when modelIcube in pipeline_rmsynth3d is provided
Closed this issue · 4 comments
Sebokolodi commented
When providing modelIcube via pipeline_rmsynth3d, the code fails and gives the following error message
File "/home/lerato/Documents/VLASS/RM-Tools-master/RMtools_3D/do_RMsynth_3D.py", line 253, in run_rmsynth
FDFcube *= Ifreq0Arr
UnboundLocalError: local variable 'FDFcube' referenced before assignment.
ErikOsinga commented
Do you have not_rmsynth=True
?
ErikOsinga commented
Ah yeah indeed, the POSSUM polarimetry pipeline pipeline_rmsynth3d
does not_rmsynth=False
and not_rmsynth=True
, and it will fail in the second case
ErikOsinga commented
Should be fixed in #146 , now only does the FDF cube normalisation by the I model if the FDF cube was actually computed
Sebokolodi commented
Seems to have solved the issue! Closing issue.