Describe the bug
The method ExplicitNetworkGenerator.generate_network_from_names(components, names) only includes nodes (components) that are connected by edges. i.e., no unconnected/floating nodes are included. This is in contrast to the current openfe network generating behavior.
I noticed this when unit tests for this openfe PR failed, because ligand_network_planning.generate_network_from_names() is being switched to use konnektor's ExplicitNetworkGenerator implementation.
To Reproduce
This Konnektor unit test demonstrates this.
Expected behavior
@IAlibay I believe we should change the Konnektor implementation to match the current openfe behavior. However, I'd like to know if this was intentionally done by @RiesBen as part of Konnektor's design.
Describe the bug
The method
ExplicitNetworkGenerator.generate_network_from_names(components, names)only includes nodes (components) that are connected by edges. i.e., no unconnected/floating nodes are included. This is in contrast to the current openfe network generating behavior.I noticed this when unit tests for this openfe PR failed, because
ligand_network_planning.generate_network_from_names()is being switched to use konnektor'sExplicitNetworkGeneratorimplementation.To Reproduce
This Konnektor unit test demonstrates this.
Expected behavior
@IAlibay I believe we should change the Konnektor implementation to match the current openfe behavior. However, I'd like to know if this was intentionally done by @RiesBen as part of Konnektor's design.