-
Notifications
You must be signed in to change notification settings - Fork 714
Open
Description
When importing an operator from a plugin, if you import anything from the same plugin in a different module, it fails with the following error:
nextflow/modules/nextflow/src/main/groovy/nextflow/plugin/extension/PluginExtensionProvider.groovy
Lines 137 to 139 in f1cffd1
if( existing.getClass().getName() != ext.getClass().getName() ) { | |
throw new IllegalStateException("Operator '$realName' conflict - it's defined by plugin ${pluginId} and ${existing.pluginId}") | |
} |
It seems to import the operator twice and reports duplicate operators. It only seems to happen with operators, not factories or functions.
Here is a minimal test case: https://github.com/human9/nextflow-import-issue
Source: nextflow-io/nf-schema#3