I made a repository where I'll add some nf-test sn...
# random
n
I made a repository where I'll add some nf-test snippets for future reference, maybe this could be interesting for some of you? https://github.com/nvnieuwk/nf-test-snippets (currently only has two snippets, but more will come 👀 )
p
We have a forum category for Nextflow snippets already! https://community.seqera.io/c/nextflow/snippets/36
Could you add them there instead do you think? You could tag them as
nf-test
n
Ooh interesting! Yeah I can have a look 😛
The main problem is that I can't really make snapshots there, which are a key part of the snippets
Would you be happy with a description and a link to each snippet in the repository?
p
Snippets as in distinct files, rather than code in code blocks?
n
Yes, something like that. I'd probably put the explanation in code blocks, but put a link to the snapshot as an example of the output (since these can get big)
p
Sounds good! Discourse has pretty good support for GitHub links so if you use a permalink it should render nicely
🎉 1
n
Good to know! I'll have a look at it 🙂
🎉 1
p
Maybe start the title with nf-test?
nf-test: Get the relative paths of all files in a pipeline output folder
And if you put GitHub urls (or any URLs really) on their own line, they get a rich embed rather than just a link
But looks great!
s
wouldn't the assertion guidelines page be a better place for these snippets ?
n
Thanks for the tips! And why keep these snippets in nf-core if the whole community can use these?
s
i see your point but my point is to have all snippets in one place for whole community....or you think the assertion guidelines are more nf-core specific thats y ?
n
I'm not really sure, but I think the forum is a nice place to gather these snippets especially when the it will get used more often in the future
Not all developers that use nextflow will have a look at the nf-core site (especially if the don't use any resources from it) I think
s
ya makes sense....good with me then
n
Let's maybe take this up in a maintainers meeting?
nod 1
p
Could have them in both places?
n
Also true! Or could we maybe add a link to all snippets with the tag
nf-test
to the nf-core documentation?
s
ya good idea