Skip to content

Commit

Permalink
Rename rdkit.py in resonance to avoid confusing imports of rdkit
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoruiDong committed Nov 30, 2023
1 parent a660267 commit 29444a4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions rdmc/resonance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

from rdmc.resonance.base import generate_resonance_structures
# Make sure resonance algorithms are registered
import rdmc.resonance.rdkit
import rdmc.resonance.rmg
import rdmc.resonance.rdkit_backend
import rdmc.resonance.rmg_backend
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/resonance/test_filtration.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
charge_filtration,
aromaticity_filtration,
)
from rdmc.resonance.rmg import (
from rdmc.resonance.rmg_backend import (
generate_resonance_structures,
)
from rdmc.resonance.utils import get_charge_span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from rdkit import Chem

from rdmc.resonance.rdkit import generate_resonance_structures
from rdmc.resonance.rdkit_backend import generate_resonance_structures


smi_params = Chem.SmilesParserParams()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from rdmc import RDKitMol
from rdmc.resonance.utils import get_lone_pair, is_aromatic, is_identical
from rdmc.resonance.rmg import (
from rdmc.resonance.rmg_backend import (
_clar_optimization,
_clar_transformation,
generate_clar_structures,
Expand Down

0 comments on commit 29444a4

Please sign in to comment.