nextflow
nextflow copied to clipboard
Extend observer with onFileStage
Closes #5905
Deploy Preview for nextflow-docs-staging canceled.
| Name | Link |
|---|---|
| Latest commit | acd641ab70d2faaa6661275ea1f89f2f6a59435f |
| Latest deploy log | https://app.netlify.com/sites/nextflow-docs-staging/deploys/67dd2f4bbf42a300087d8f32 |
Before we go down this road, we should see if we can simply preserve the remote path here:
https://github.com/nextflow-io/nextflow/blob/36153c68ffb11685d7085737404694ee613bdac8/modules/nextflow/src/main/groovy/nextflow/processor/TaskProcessor.groovy#L1943
Then you should be able to use the onProcessPending event in the trace observer to get the original path via handler.task.inputs. That would be preferable to adding a new trace event
Before we go down this road, we should see if we can simply preserve the remote path here:
Added to #5911 -- not sure whether this is what you had in mind.
Having said that, I wonder whether adding this function to the observer isn't also just a good addition, because it would make it super clear from the documentation how to get observe staging events.
Closing in favor of #5911