You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the workflow an input file is moved to another location. Not exactly a bug (except in miniwdl where you are not allowed to do this). But it can be hazardous because other steps in a workflow might expect the file to still be there (especially scatters).
The line:
mv ~{input_file} ~{new_name}
would be better as
cp ~{input_file} ~{new_name}
In general it would be safer to avoid making any changes to the location or content of an input if you can.
Happy to submit a PR if you agree.
The text was updated successfully, but these errors were encountered:
In the workflow an input file is moved to another location. Not exactly a bug (except in miniwdl where you are not allowed to do this). But it can be hazardous because other steps in a workflow might expect the file to still be there (especially scatters).
The line:
mv ~{input_file} ~{new_name}
would be better as
cp ~{input_file} ~{new_name}
In general it would be safer to avoid making any changes to the location or content of an input if you can.
Happy to submit a PR if you agree.
The text was updated successfully, but these errors were encountered: