-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSClean: support relative input and output paths #613
Comments
WorkaroundDon't use Karabo. Execute wsclean from command line with
|
Currently, the ms_file_path needs to be an absolute path for WSClean because we need to do a cd due to the way WSClean works (outputs file to current working dir). I see two options: specifically add support for relative paths or document that an absolute path is expected. Which one do you prefer? Probably option 1? |
Yes, I prefer your option 1 (use relative path).
This I didn' know. But when I use all your suggestions then it works without an error. We may need to improve the documentation. |
I could see the following TODOs then:
|
Looks like a plan! As it is assigned to me I'll take care of. |
Summary
If I try to process an existing measurement set with
WscleanImageCleaner
then Karabo crashes with th error:Steps to reporduce
Assume there is a measurement set
measurements.MS
from another Karabo workflow. The folder is in my working directory. When I clean the image using the follwing code, the above mentioned error appears:Expected result
I want to process dirty images no matter where they are located. Thus, the code above should output the result of the WSClean algorithm in the folder
output
. This are 5 FITS file.The text was updated successfully, but these errors were encountered: