drugforge.alchemy.cli.utils.cinnabar_femap_get_largest_subnetwork
- drugforge.alchemy.cli.utils.cinnabar_femap_get_largest_subnetwork(fe_map: FEMap, result_network: FreeEnergyCalculationNetwork, console: rich.Console) FEMap[source]
From a disconnected femap, returns the subnetwork with the largest number of nodes using a networkx workaround. Requires the original FreeEnergyCalculationNetwork to query results from.
Returns a cinnabar FEMap that is fully connected