diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 40a3c2f..7e58257 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -1,7 +1,7 @@ Installation ------------ -The recommanded way to install ProLIF is to use `conda`_. +The recommended way to install ProLIF is to use `conda`_. These first steps are optional and will create a separate environment for ProLIF:: diff --git a/docs/source/modules/plotting.rst b/docs/source/modules/plotting.rst index 60e2b74..06fe9c7 100644 --- a/docs/source/modules/plotting.rst +++ b/docs/source/modules/plotting.rst @@ -7,4 +7,4 @@ Plotting .. automodule:: prolif.plotting.complex3d -.. automodule:: prolif.plotting.network +.. automodule:: prolif.plotting.network.lignetwork diff --git a/prolif/io/cif.py b/prolif/io/cif.py index 1f7f91b..d78e5ce 100644 --- a/prolif/io/cif.py +++ b/prolif/io/cif.py @@ -4,8 +4,7 @@ This module provides a wrapper around `gemmi` for reading Crystallographic Information File (CIF) format. -.. versionchanged:: 2.2.0 - Replaced the custom CIF parser with a thin wrapper around ``gemmi``. +.. versionadded:: 2.2.0 """ from pathlib import Path diff --git a/prolif/molecule.py b/prolif/molecule.py index 917e63d..6e28627 100644 --- a/prolif/molecule.py +++ b/prolif/molecule.py @@ -146,6 +146,15 @@ def from_mda( mol = prolif.Molecule.from_mda(protein) mol + Since MDAnalysis v2.10.0, it is possible to directly control how bond orders and + charges are inferred from the topology using the ``inferrer`` parameter:: + + >>> from MDAnalysis.converters.RDKitInferring import TemplateInferrer + >>> from rdkit import Chem + >>> ligand_template = Chem.MolFromSmiles("NC(c2nc(=Cc1ccc([O-])cc1)c(=O)n2CC=O)C(C)O") + >>> ligand_inferrer = TemplateInferrer(ligand_template) + >>> mol = prolif.Molecule.from_mda(u, "resname LIG", inferrer=ligand_inferrer) + .. versionchanged:: 2.1.0 Added `use_segid`. """