Skip to content

Commit

Permalink
add okwarnings (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyminium authored Jun 20, 2021
1 parent e7ccaa5 commit 20f3a71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/source/reading_and_writing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ The most straightforward way to do this is to pass ``in_memory=True`` to :class:
automatically transfers a trajectory to memory:

.. ipython:: python
:okwarning:
from MDAnalysis.tests.datafiles import TPR, XTC
Expand All @@ -106,6 +107,7 @@ time with the
of a :class:`~MDAnalysis.core.universe.Universe`:

.. ipython:: python
:okwarning:
universe = mda.Universe(TPR, XTC)
universe.transfer_to_memory()
Expand Down

0 comments on commit 20f3a71

Please sign in to comment.