-
Notifications
You must be signed in to change notification settings - Fork 111
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
Fix Tiara publishing files #520
Conversation
This PR is against the
|
|
I'm curious what the issue with the patterns is. I agree that the naming used makes it clear what the files are, it is just nice to clear the log "clutter" in my opinion. |
Looks fine to me! Also not sure quite what’s going on, but writing the Tiara module I definitely had a bunch of trouble with the output as it doesn’t provide much flexibility with the names of the output files and they were a pain to separate in the module output. |
One quick thought though - does prefixing the pattern with a ^ to indicate the start of the string help? |
Okay gotcha! If it is too much trouble to separate the outputs, I think this structure is definitely clear enough |
I tried a bunch of things too but couldn't get it to work :( could try again in the future but for now I want to just make sure there is actually output |
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.
Looking at it a bit more - this is the only place we're trying to specify the pattern:
glob using a closure - perhaps it's this combination that's not working?
Either way, agree it's better to be functional and to get the files published!
Yup that's what I realised. But for whatever reason even after removing the closure it still didn't work to put them separately :( |
I couldn't get the globs working for some reason for the log files, so I put them next to the actual files. I assume it will be clear from the file name what is is and that it's not the main output files.
Output now looks like this
to close #519 (see issue for screenshot of the bugged output)
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).