Skip to content

Commit

Permalink
Fix path handling
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <[email protected]>
  • Loading branch information
bentsherman committed Jul 2, 2024
1 parent 1d0458a commit dd30a3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/nf-prov/src/main/nextflow/prov/BcoRenderer.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class BcoRenderer implements Renderer {
private PathNormalizer normalizer

BcoRenderer(Map opts) {
path = opts.file as Path
path = (opts.file as Path).complete()
overwrite = opts.overwrite as Boolean

ProvHelper.checkFileOverwrite(path, overwrite)
Expand Down
2 changes: 1 addition & 1 deletion plugins/nf-prov/src/main/nextflow/prov/DagRenderer.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class DagRenderer implements Renderer {
private PathNormalizer normalizer

DagRenderer(Map opts) {
path = opts.file as Path
path = (opts.file as Path).complete()
overwrite = opts.overwrite as Boolean

ProvHelper.checkFileOverwrite(path, overwrite)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class LegacyRenderer implements Renderer {
private boolean overwrite

LegacyRenderer(Map opts) {
path = opts.file as Path
path = (opts.file as Path).complete()
overwrite = opts.overwrite as Boolean

ProvHelper.checkFileOverwrite(path, overwrite)
Expand Down

0 comments on commit dd30a3d

Please sign in to comment.