Skip to content

Commit

Permalink
Fix doctest-requires block
Browse files Browse the repository at this point in the history
  • Loading branch information
janbridley committed Jan 16, 2025
1 parent 959f3df commit a049245
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,5 @@ Once `freud`_ is installed, crystal structures can be easily replicated!
>>> box = freud.Box(*cif.cell)
>>> uc = freud.data.UnitCell(box, basis_positions=pos)
>>> box, pos = uc.generate_system(num_replicas=2)

>>> assert len(pos) == 4 * 2**3
>>> np.testing.assert_allclose(box.L / 2, cif.cell[:3], atol=1e-15)

0 comments on commit a049245

Please sign in to comment.