Skip to content

module 'networkx' has no attribute 'biconnected_component_subgraphs #84

Open
@Shunsuke-1994

Description

@Shunsuke-1994

description

conda install -c rdkit -c mordred-descriptor mordred installed the newest version of networkx(2.4.0, as for today). But biconnected_component_subgraphs is already depricated in networkx (>2.1.0).

minimal reproduction code

I installed mordred via conda as following,

conda create -n mordred python=3.8
conda activate mordred
conda install -c rdkit -c mordred-descriptor mordred

and then I ran the following code.

from mordred import Calculator, descriptors
from rdkit import Chem

smiles = "c1ccccc1"
calc = Calculator(descriptors, ignore_3D=True)
df = calc.pandas([Chem.MolFromSmiles(smiles)])
df["DetourIndex"] # this returns "module 'networkx' has no attribute 'biconnected_component_subgraphs"

environment

macOS High Sierra 10.13.6
conda version : 4.8.2

Best regards,
Shunsuke

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions