Skip to content

fix Variable NetChecker already defined error#284

Merged
replikation merged 2 commits intomasterfrom
fix_NetChecker-call
Jul 30, 2025
Merged

fix Variable NetChecker already defined error#284
replikation merged 2 commits intomasterfrom
fix_NetChecker-call

Conversation

@MarieLataretu
Copy link
Collaborator

I don't why and how, but the latest release caused problems on my side:

ERROR ~ Script compilation error
- file : <home>/.nextflow/assets/replikation/poreCov/poreCov.nf
- cause: Variable `NetChecker` already defined in the process scope @ line 227, column 25.

This fixes the compilation error by adding a variable definition for NetChecker.netIsAvailable()

- added variable definition for `NetChecker.netIsAvailable()`
@replikation
Copy link
Owner

Okay. Strange that it wasn't causing issues on our end. Could be something related to the nextflow versions itself?

But thanks, and I will check the code again

@replikation
Copy link
Owner

What nextflow version did you use?

@MarieLataretu
Copy link
Collaborator Author

I tested w/ 24.10.4, and 22.something, both produced the error.

I suspect some Groovy dependency, but didn't check in detail

@replikation
Copy link
Owner

@MarieLataretu can you tell me if it works on your end?

@MarieLataretu
Copy link
Collaborator Author

@MarieLataretu can you tell me if it works on your end?

Yes, it works! @replikation

@replikation replikation merged commit aa377dc into master Jul 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants