Skip to content

Commit

Permalink
Update imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtarzia committed Dec 13, 2024
1 parent 1a28d81 commit dc3b752
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/cage_optimisation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ not handling the detailed stereochemistry of this system here.

.. code-block:: python
from pathlib import Path
import openmm
import stk
from openff.toolkit import ForceField
Expand Down
6 changes: 6 additions & 0 deletions docs/source/hg_optimisation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ cage. And we build to `stk.host_guest.Guest` objects.

.. code-block:: python
from pathlib import Path
import openmm
import stk
from openff.toolkit import ForceField
import stko
input_cage = stk.BuildingBlock.init_from_file(
Path("cage_openmm_example_directory/opt_cage.mol")
Expand Down

0 comments on commit dc3b752

Please sign in to comment.