Skip to content
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

Make BCO the default format #14

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
prov {
enabled = true
overwrite = true
file = "${params.outdir}/manifest.json"
file = "${params.outdir}/bco.json"
}
```

Expand All @@ -36,7 +36,7 @@ The path of the provenance manifest (default: `manifest.json`).

`prov.format`

The manifest format. Can be `legacy` or `bco` (default: `legacy`).
The manifest format. Can be `legacy` or `bco` (default: `bco`).

*Note: The BCO format is experimental and may change in future releases. Visit the [BCO User Guide](https://docs.biocomputeobject.org/user_guide/) to learn more about this format and how to extend it with information that isn't available to Nextflow.*

Expand Down
1 change: 0 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ params {
prov {
overwrite = true
file = "${params.outdir}/bco.json"
format = 'bco'
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ProvObserverFactory implements TraceObserverFactory {

final file = config.navigate('prov.file', ProvObserver.DEF_FILE_NAME)
final path = (file as Path).complete()
final format = config.navigate('prov.format', 'legacy') as String
final format = config.navigate('prov.format', 'bco') as String
final overwrite = config.navigate('prov.overwrite') as Boolean
final patterns = config.navigate('prov.patterns', []) as List
new ProvObserver(path, format, overwrite, patterns)
Expand Down
Loading