nextflow-io / nf-prov

Apache License 2.0
23 stars 11 forks source link

Support multiple formats in the same run #15

Closed bentsherman closed 10 months ago

bentsherman commented 10 months ago

Close #9

Extends the configuration so that multiple output formats can be specified.

For backwards compatibility, if format is specified then format, file, and overwrite will be used with a deprecation warning.

If no format is specified, an error is thrown rather than using a default.

Example configuration:

prov {
    formats {
        bco {
            file = "${params.outdir}/bco.json"
            overwrite = true
        }
        dag {
            file = "${params.outdir}/dag.html"
            overwrite = true
        }
        legacy {
            file = "${params.outdir}/manifest.json"
            overwrite = true
        }
    }
}
stevekm commented 10 months ago

how do I update the version of nf-prov being used in order to get these changes in my pipeline?

bentsherman commented 10 months ago

I'm gonna release 1.2.0 by the end of this week, I'd like to add an RO-crate format first during the hackathon