nextflow-io / nf-prov

Apache License 2.0
23 stars 11 forks source link

Support multiple formats in the same run #9

Closed bentsherman closed 10 months ago

bentsherman commented 11 months ago

Proposed syntax:

prov {
  formats {
    legacy {
      file = 'manifest.json'
      overwrite = true
    }
    bco {
      file = 'bco.json'
      overwrite = true
      // could put extra bco-specific fields here, etc
    }
  }
  // ...
}
simleo commented 10 months ago

For Workflow Run RO-Crate the output is actually a directory. It could be output as a zip archive though.

bentsherman commented 10 months ago

This is another reason why I want to have separate config for each format, since not every format is guaranteed to output a single file. So an RO-crate for example could have a directory setting instead of file.