-
Notifications
You must be signed in to change notification settings - Fork 190
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
new File --> file #354
new File --> file #354
Conversation
As mentioned in nf-core/rnaseq#245, the `pipeline_report.{html,txt}` files get written with `new File` instead of `file` which leads to weird behavior and creating an `s3:/` folder locally if the output folder is on AWS S3: ``` Thu 27 Jun - 09:03 ~/code/nf-core/rnaseq origin ☊ olgabot/salmon-gencode ✔ 28☀ ll --tree s3: Permissions Size User Date Modified Git Name drwxr-xr-x - olgabot 11 Jun 10:26 -- s3: drwxr-xr-x - olgabot 11 Jun 10:26 -- └── olgabot-maca drwxr-xr-x - olgabot 11 Jun 10:26 -- └── mini-maca drwxr-xr-x - olgabot 11 Jun 10:26 -- └── results drwxr-xr-x - olgabot 11 Jun 10:26 -- └── pipeline_info .rw-r--r-- 12k olgabot 11 Jun 16:40 -- ├── pipeline_report.html .rw-r--r-- 2.7k olgabot 11 Jun 16:40 -- └── pipeline_report.txt ``` This is especially problematic as after the first time the pipeline is run, then the `s3:/` folder is created and any input files get tested against that "folder" and suddenly they "don't exist" because they look like they're on the local filesystem as locally, `s3://` --> `s3:/`, and then pipelines break 😢
Requires a comment in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requires a CHANGELOG update, other than that looking good 👍
Yay I changed the base to |
@@ -49,7 +49,7 @@ def helpMessage() { | |||
* SET UP CONFIGURATION VARIABLES | |||
*/ | |||
|
|||
// Show help message | |||
// Show help emssage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Show help emssage | |
// Show help message |
As mentioned in nf-core/rnaseq#245, the
pipeline_report.{html,txt}
files get written withnew File
instead offile
which leads to weird behavior and creating ans3:/
folder locally if the output folder is on AWS S3:This is especially problematic as after the first time the pipeline is run, then the
s3:/
folder is created and any input files get tested against that "folder" and suddenly they "don't exist" because they look like they're on the local filesystem as locally,s3://
-->s3:/
, and then pipelines break 😢Many thanks to contributing to nf-core/tools!
Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs).
PR checklist
docs
is updatedCHANGELOG.md
is updatedREADME.md
is updatedLearn more about contributing: https://github.com/nf-core/tools/tree/master/.github/CONTRIBUTING.md