Closed celeritas closed 6 years ago
Thank you Katherine. Looks great. The only detail is that the try/except needs to be there in case you want to run the pipeline from an already running CASA session. In that case the sys.argv value will not exist (that is why the user has to define pipeline_path manually in that case).
Remember also to change line 13 to version v0.7.3. Could you make those two changes?
Thanks for the contribution!
If the pipeline is run from the same directory as the data, CASA 5.1.1 would crash as the previous lines would add '/' to the path instead of the current directory. The os.path.abspath in the second line prevents this from happening. Note: the current directory was in the CASA path by default for CASA 5.0.0 so the pipeline did not crash for this version.
The first line which sets pipeline_filename is now updated to not require numpy.