Skip to content

Commit

Permalink
fix sphinx warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cbouy committed Jun 11, 2021
1 parent b34726b commit 5fc3d9a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ Documentation

The installation instructions, documentation and tutorials can be found online on `ReadTheDocs <https://prolif.readthedocs.io/en/latest/>`_.

| ⚠ Do not ``pip install prolif`` yet ⚠
| Please refer to the installation instructions instead (and `this comment <https://github.com/chemosim-lab/ProLIF/issues/6#issue-784313798>`__ if you want to know the details)
Issues
------

Expand Down
16 changes: 9 additions & 7 deletions prolif/fingerprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ def bitvector_atoms(self, res1, res2):
A list containing indices for the protein atoms responsible for
each interaction
.. versionchanged:: 0.3.2
Returns atom indices as two separate lists instead of a single list
of tuples
Atom indices are returned as two separate lists instead of a single
list of tuples
"""
bitvector = []
lig_atoms = []
Expand Down Expand Up @@ -334,6 +334,7 @@ def run(self, traj, lig, prot, residues=None, progress=True):
.. versionchanged:: 0.3.2
Moved the ``return_atoms`` parameter from the ``run`` method to the
dataframe conversion code
"""
iterator = tqdm(traj) if progress else traj
if residues == "all":
Expand Down Expand Up @@ -387,14 +388,15 @@ def run_from_iterable(self, lig_iterable, prot_mol, residues=None,
>>> fp = plf.Fingerprint()
>>> fp.run_from_iterable(lig_iter, prot)
Notes
-----
See :meth:`~Fingerprint.generate` to generate the fingerprint between
two single structures
.. seealso::
:meth:`Fingerprint.generate` to generate the fingerprint between
two single structures
.. versionchanged:: 0.3.2
Moved the ``return_atoms`` parameter from the ``run_from_iterable``
method to the dataframe conversion code
"""
iterator = tqdm(lig_iterable) if progress else lig_iterable
if residues == "all":
Expand Down
4 changes: 2 additions & 2 deletions prolif/plotting/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Plot a Ligand Interaction Network --- :mod:`prolif.plotting.network`
====================================================================
.. versionadded:: 0.3.2
.. autoclass:: LigNetwork
:members:
Expand Down Expand Up @@ -71,8 +73,6 @@ class LigNetwork:
You can customize the diagram by tweaking :attr:`LigNetwork.COLORS` and
:attr:`LigNetwork.RESIDUE_TYPES` by adding or modifying the
dictionaries inplace.
.. versionadded:: 0.3.2
"""
COLORS = {
"interactions": {
Expand Down

0 comments on commit 5fc3d9a

Please sign in to comment.