Skip to content

Commit

Permalink
fix get_messages in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhall88 authored Jan 11, 2024
1 parent cdc0ed1 commit f7928b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ Argument errors raise a :class:`pysam.SamtoolsError`::
pysam.SamtoolsError: 'Usage: samtools sort [-n] [-m <maxMem>] <in.bam> <out.prefix>\n'

Messages from `samtools`_ on stderr are captured and are
available using the :meth:`getMessages` method::
available using the :meth:`get_messages()` method::

pysam.sort.getMessage()
pysam.sort.get_messages()

Note that only the output from the last invocation of a command is
stored.
Expand Down

0 comments on commit f7928b3

Please sign in to comment.