Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Apr 16, 2024
1 parent 8e88045 commit e54c556
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/grid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,9 @@ a macromolecular structure (Structure):

.. doctest::

>>> new_grid = gemmi.FloatGrid()
>>> st = gemmi.read_structure('../tests/1orc.pdb')
>>> grid2.setup_from(st)
>>> new_grid.setup_from(st)

----

Expand Down

0 comments on commit e54c556

Please sign in to comment.