From 127d95abe3223c78a0891b7d8990330a1e8abd9d Mon Sep 17 00:00:00 2001 From: Martin Larralde <martin.larralde@embl.de> Date: Tue, 8 Oct 2024 16:56:43 +0200 Subject: [PATCH] Fix rendering of `TopHits.query` doctest --- pyhmmer/plan7.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyhmmer/plan7.pyx b/pyhmmer/plan7.pyx index c78060dc..11c3c647 100644 --- a/pyhmmer/plan7.pyx +++ b/pyhmmer/plan7.pyx @@ -7982,9 +7982,9 @@ cdef class TopHits: to the `Pipeline`, or the `~pyhmmer.hmmer` function, that created the object:: - >>> hits = next(pyhmmer.hmmsearch(thioesterase, proteins)) - >>> hits.query - <HMM alphabet=Alphabet.amino() M=243 name=b'Thioesterase'> + >>> hits = next(pyhmmer.hmmsearch(thioesterase, proteins)) + >>> hits.query is thioesterase + True .. versionadded 0.10.10 -- GitLab