-
Notifications
You must be signed in to change notification settings - Fork 598
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
Main script class name collides with variable names in global scope #113
Comments
Hi Manuele, What if you run this command:
|
That works:
|
I'm unable to replicate problem. What if you remove the process part in the script you have posted? |
Now it's very minimal but I still get the error: ubuntu@frontend001:~$ cat workflow.nf
ubuntu@frontend001:~$ nextflow workflow.nf
-- Check script 'workflow.nf' at line: 1 or see '.nextflow.log' file for more details |
I'm starting to think there's a hidden special character in your script, otherwise it should fail also the one liner |
You might be right. But I'm unable to detect it.
If I look at their bytes, it's confirmed that they are exactly the same:
But then, when I execute them, the results are completely different:
|
Oh, I got it. You named that script |
bingo! |
I think I can manage to generate a class name with a random suffix that will prevent this problem. |
That should fix for good the issue. |
…instead of synthetic class name #113
…instead of synthetic class name #113
The onComplete event handler seems to fail when nextflow is running on an ubuntu machine.
The error reported is:
Here's a simple workflow that I used to the error:
The same workflow executed on a Mac works well.
This is the configuration of the two machines as reported in the .nextflow.log:
Mac OS machine runtime:
Ubuntu manchine runtime:
Attached is the full log reported by nextflow when running on ubuntu and failing.
nextflow.txt
The text was updated successfully, but these errors were encountered: