Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions docs/_templates/autosummary/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,15 @@
{% if attributes %}
{{ _('Module Attributes') | escape | underline(line="-") }}

.. autosummary::
:toctree:
:nosignatures:
{% for item in attributes %}
.. autoattribute:: {% if item.startswith(fullname ~ ".") -%}
{{- item[((fullname ~ ".") | length):] -}}
{%- else -%}
{{- item -}}
{%- endif %}
{% if item.startswith(fullname ~ ".") -%}
{{- item[((fullname ~ ".") | length):] -}}
{%- else -%}
{{- item -}}
{%- endif %}
{%- endfor %}

{% endif %}
Expand Down
1 change: 1 addition & 0 deletions docs/releasehistory.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Please note that all releases prior to a version 1.0.0 are considered pre-releas

* #1216 Type labels can (optionally) be included in LAMMPS files.
* #1219 Adds `SMIRNOFFElectrostaticsCollection.get_charge_array`.
* #1251 Makes the PACKMOL wrappers public. Import as `from openff.interchange.packmol import foo`.

### Behavior changes

Expand Down
2 changes: 1 addition & 1 deletion examples/ligand_in_water/ligand_in_water.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"from rich.pretty import pprint\n",
"\n",
"from openff.interchange import Interchange\n",
"from openff.interchange.components._packmol import RHOMBIC_DODECAHEDRON, pack_box"
"from openff.interchange.packmol import RHOMBIC_DODECAHEDRON, pack_box"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions examples/packed_box/packed_box.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"from openff.units import unit\n",
"\n",
"from openff.interchange import Interchange\n",
"from openff.interchange.components._packmol import UNIT_CUBE, pack_box\n",
"from openff.interchange.drivers import get_summary_data"
"from openff.interchange.drivers import get_summary_data\n",
"from openff.interchange.packmol import UNIT_CUBE, pack_box"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions examples/protein_ligand/protein_ligand.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"from openff.units import unit\n",
"\n",
"from openff.interchange import Interchange\n",
"from openff.interchange.components._packmol import UNIT_CUBE, pack_box\n",
"from openff.interchange.drivers import get_openmm_energies\n",
"from openff.interchange.drivers.all import get_summary_data"
"from openff.interchange.drivers.all import get_summary_data\n",
"from openff.interchange.packmol import UNIT_CUBE, pack_box"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
from openff.toolkit import Quantity

from openff.interchange._tests import MoleculeWithConformer
from openff.interchange.components._packmol import (
from openff.interchange.drivers import get_openmm_energies
from openff.interchange.packmol import (
_find_packmol,
solvate_topology_nonwater,
)
from openff.interchange.drivers import get_openmm_energies


@pytest.mark.slow
Expand Down
2 changes: 1 addition & 1 deletion openff/interchange/_tests/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

from openff.interchange import Interchange
from openff.interchange._tests import MoleculeWithConformer, shuffle_topology
from openff.interchange.components._packmol import pack_box
from openff.interchange.drivers import get_openmm_energies
from openff.interchange.packmol import pack_box


def test_issue_723():
Expand Down
Loading