-
Notifications
You must be signed in to change notification settings - Fork 595
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
Pass-through source
to onFilePublish()
#3284
Pass-through source
to onFilePublish()
#3284
Conversation
Signed-off-by: Bruno Grande <bruno.grande@sagebase.org>
modules/nextflow/src/main/groovy/nextflow/trace/TraceObserver.groovy
Outdated
Show resolved
Hide resolved
|
Signed-off-by: Bruno Grande <bruno.grande@sagebase.org>
Signed-off-by: Bruno Grande <bruno.grande@sagebase.org>
@bentsherman: Any chance for this to get a final review and possible merge? Thanks! |
modules/nextflow/src/main/groovy/nextflow/trace/TraceObserver.groovy
Outdated
Show resolved
Hide resolved
Signed-off-by: Bruno Grande <bruno.grande@sagebase.org>
modules/nextflow/src/main/groovy/nextflow/processor/PublishDir.groovy
Outdated
Show resolved
Hide resolved
modules/nextflow/src/main/groovy/nextflow/processor/PublishDir.groovy
Outdated
Show resolved
Hide resolved
modules/nextflow/src/main/groovy/nextflow/processor/PublishDir.groovy
Outdated
Show resolved
Hide resolved
Ok, but the |
Co-authored-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com> Signed-off-by: Bruno Grande <bruno.grande@sagebase.org>
@pditommaso: It does start off as |
Awesome, thanks |
During the nf-core hackathon, I started working on a Nextflow plugin called
nf-prov
, whose goal is to generate a file manifest of published files. In this initial PR, I was able to create a simple list of published files. In a follow-up PR, I switched to JSON output. Going forward, I would like to include the information about the task doing the publishing as well as input sample provenance.However, the
onFilePublish()
observer interface doesn't allow published files to be linked with the task that did the publishing. There are several ways to address this, but the least obtrusive one that I identified is to pass-through thesource
path, which will enable the plugin to cross-reference with the task output files.I've included a question below.