papermill
papermill copied to clipboard
nextflow passing variables
Hi all,
I just started to use nextflow and I would like to pass variables from the terminal to my notebook. I used the following command:
papermill input.ipynb output.ipynb \
-p string_1 !{s1} \
-p string_2 !{s2}"
and I get the following in the output file (the !{var}
is equal to ${var}
[this is how nextflow bind variables]):
print(string_1)
!{s1}
print(string_2)
!{s2}
any idea how I can get the content of the variables passed to my notebook? Thanks