support remote paths in NfCoreTemplate:dump_parameters#2465
Merged
fbdtemme merged 3 commits intoOct 16, 2023
Conversation
ce457a2 to
86bfec9
Compare
Codecov Report
@@ Coverage Diff @@
## dev #2465 +/- ##
=======================================
Coverage 70.60% 70.60%
=======================================
Files 87 87
Lines 9437 9435 -2
=======================================
- Hits 6663 6662 -1
+ Misses 2774 2773 -1 |
Member
|
Thanks for reporting, I see the issue, but I was wondering why the code does not work as I copied it from here and as far as I know, we are not encountering the same issue, maybe @mirpedrol can help here... |
Contributor
Author
mirpedrol
approved these changes
Oct 16, 2023
f1a99a8 to
5ec389e
Compare
fbdtemme
added a commit
to nf-core/pixelator
that referenced
this pull request
Oct 16, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently the new
dump_parametersadded in v2.10 (#2425) only works on local files.When using a remote publish dir such as s3, the json file will be written to a weird directory
s3 / path / to / outdir / params_{timestamp}.jsonin the launchDir.This small tweak first creates the parameter dump on the nextflow head machine as a hidden file and then moves it to the possibly remote outdir using the nextflow FilesEx helper to deal with the remote filesystems.
PR checklist
CHANGELOG.mdis updateddocsis updated