-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bug: Archive in InitialWorkDirRequirement error with cwltool #69
Comments
Could change cwl file creation to 2. version (above) if one of the inputs is an archive and create a yml file with the parameters. Then user would need to have cwltool installed to run it??? |
$include appends the text to the cwl file and does not work with binaries. So V2 would be more correct. |
Okay, I will change it |
What is the reason for the execute_cwl_local-fn? And why does it say CWLTool is needed? We can not use cwltool in s4n tool create!! Furthermore everythin in tool create happens in the users local folder. m4.4_sciwin_client/src/commands/tool.rs Lines 88 to 130 in c94c8f5
|
There is a bug in for fixed inputs when dealing with archived data (e.g. RData files). Currently
s4n tool create -i preprocessed.RData -i metadata.RData -o reshaped.RData Rscript workflows/reshape_data/reshape_data.R
would create the following cwl file:s4n execution is successful but cwltool execution is not working
cwltool workflows/reshape_data/reshape_data.cwl
due to RData file.error:
s4n execute local workflows/reshape_data/reshape_data.cwl
does work.It would be possible to have a cwl file and a yaml file (or call with arguments) that looks like this:
This would allow execution with cwltool or with
s4n execute local --runner cwltool workflows/reshape_data.cwl --preprocessed_RData preprocessed.RData --metadata_RData metadata.RData
ors4n execute local --runner cwltool workflows/reshape_data/reshape_data.cwl workflows/reshape_data/reshape_data_inputs.yml
but not without--runner cwltool
(or maybe I did something wrong)s4n execute local workflows/reshape_data/reshape_data.cwl --preprocessed_RData preprocessed.RData --metadata_RData metadata.RData
The text was updated successfully, but these errors were encountered: