How to set a global variant or write a public function in Nextflow that can be used in all module files? #4529
Unanswered
lishengting
asked this question in
Q&A
Replies: 1 comment
-
You should use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a variant 'project' and a function get_prj() in a file:
prj.nf
I want to use them in another 20 module files.
How could I do this?
I tried
include {get_prj} from "./prj"
But it doesn't work, always says
or
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions