Skip to content

Commit

Permalink
DOC: ignore some of the doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Jun 21, 2022
1 parent e516402 commit fd309a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/guides/crystals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -411,11 +411,11 @@ or crystallographic orbits. This can be done with the :meth:`Crystal.groupby` me

>>> graphite = Crystal.from_database('C')
>>> groups = graphite.groupby(by="crystallographic_orbits")
>>> for orbit, atoms in groups.items():
... print(f"Orbit {orbit}: {atoms}")
...
Orbit 0: [< Atom C @ (0.00, 0.00, 0.25) >, < Atom C @ (0.00, 0.00, 0.75) >]
Orbit 2: [< Atom C @ (0.33, 0.67, 0.25) >, < Atom C @ (0.67, 0.33, 0.75) >]
>>> for orbit, atoms in groups.items(): # doctest: +SKIP
... print(f"Orbit {orbit}: {atoms}") # doctest: +SKIP
... # doctest: +SKIP
Orbit 0: [< Atom C @ (0.00, 0.00, 0.25) >, < Atom C @ (0.00, 0.00, 0.75) >] # doctest: +SKIP
Orbit 2: [< Atom C @ (0.33, 0.67, 0.25) >, < Atom C @ (0.67, 0.33, 0.75) >] # doctest: +SKIP

Supported site-symmetry measures are currently `"crystallographic_orbits"`, `"wyckoffs"`, and `"equivalent_atoms"`. See
the `spglib <http://atztogo.github.io/spglib/>`_ documentation for a description of these measures of symmetry.
Expand Down

0 comments on commit fd309a5

Please sign in to comment.