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
unfortunately I cannot share the original workflow. If needed I can try and prepare an artificial example.
However, I think at first I need some clarification on what I should expect. In the workflow editor the "output cleanup" is described as such:
I have until now interpreted this as "unmarked datasets from all steps of the workflow which are completed at time of running this step, no matter which branch of the workflow".
The description in the workflow launch screen seems to limit this to datasets which were "parent" to the step in which is activated, which sounds to me like it could mean either only the datasets used as input to this step, or any datasets from steps with a direct or indirect connection to this step.
If this is the case, the results I am getting make a lot more sense suddenly.
I would however still expect no deletion of datasets marked as Workflow Output.
@jancrichter Yep, that's exactly right. This action is designed to execute at the time the step in question finishes, cleaning up parent datasets (which are no longer being used as inputs for other steps). You can use this multiple times to manage dataset outputs in a large workflow, or only at the final outputs for a workflow-level cleanup.
That said, that it is deleting things that are marked as outputs sounds like a bug -- do you think you could reproduce a more minimal example that this happens with?
Scenario: "Output cleanup" is activated in final step of workflow.
Expectation: All non-starred (or rather non-checked) and therefore hidden workflow outputs should be deleted.
Observation: Only 50 of around 180 files are deleted. Furthemrore, there are "checked" or "starred" files among the deleted ones.
This occurs on 19.09, 20.05 and 20.09 (latest, from today). I have not tested this on any older versions.
I could find nothing in the logs that might be related to this.
Further question: Any chance of an option to directly "purge" the files in question?
Thanks for any feedback!
The text was updated successfully, but these errors were encountered: