-
Notifications
You must be signed in to change notification settings - Fork 634
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
kuberun does not export function defined in project nextflow.config #870
Comments
The problem is that A solution could be provided implementing In any case I need to verify if it's possible to support custom method in |
The idea to solve this issue is to move custom functions defined in the config file in library files. This requires #940. |
I also ran into the check_max issue while running the nf-core/mhcquant on Kubernetes. This issue is almost one year old. Any plan to fix this? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bug report
I run the exact same pipeline on LSF and k8s (almost identical command lines,
using kuberun for the latter):
Expected behavior and actual behavior
On LSF this works fine. I expect it to work in the same way on k8s. The first process runs fine on k8s. The second process uses a function
check_max
defined in the projectnextflow.config
(https://raw.githubusercontent.com/cellgeni/rnaseq-noqc/master/nextflow.config). The first instance of the second process fails immediately with the message below:Program output
Steps to reproduce the problem
I'll describe more context here. The nextflow log file is attached. The
nf.config
file from kuberun is this:After execution, if I visit
k8s.userDir
, there is anextflow.config
file there created by NF itself, clearly representing a dump of internal configuration state or a subset thereof. In this filecheck_max
is absent. It seems as if the function definition is not exported. I can make a reproducible test-case, but it will require more time and I have some hope that this describes the problem to a good extent.Environment
I've tested this both with 32 (version 0.32.0 build 4897) and with 31 (don't have version ready):
nextflow.log
The text was updated successfully, but these errors were encountered: