apertif / apercal

GNU General Public License v3.0
3 stars 9 forks source link

Missing target miriad file after convert crashes selfcal #256

Closed rs1701 closed 5 years ago

rs1701 commented 5 years ago

If the target miriad file was not successfully created, parametric selfcal crashes because it does not check whether miriad file exists. However, other selfcal steps do. Perhaps this is also an issue for continuum and polarisation

rs1701 commented 5 years ago

Should be fixed after pull request of fix_preflag_singlebeam branch has been completed

rs1701 commented 5 years ago

Fixed by adding a function that checks the starting conditions for selfcal, but also every other module that requires the miriad file from convert, i.e., continuum, line, polarisation and transfer. If the starting conditions fail, nothing else is executed in the respective modules