Commit 9d0c7a93 authored by Martin Larralde's avatar Martin Larralde
Browse files

Fix documented type of `HMM.insert_emissions` property [ci skip]

parent 954c14ca
Pipeline #34086 skipped
......@@ -330,7 +330,7 @@ class _Search(typing.Generic[_Q], abc.ABC):
# get the next query and add it to the query queue
query_count.value += 1
chore = _Chore(query)
query_queue.put(chore)
query_queue.put(chore) # <-- blocks if too many chores in queue
query_available.release()
results.append(chore)
# aggressively wait for the result with a very short
......@@ -345,7 +345,7 @@ class _Search(typing.Generic[_Q], abc.ABC):
query_available.release()
# yield all remaining results, in order
while results:
yield results[0].get()
yield results[0].get() # <-- blocks until result is available
results.popleft()
except BaseException:
# make sure threads are killed to avoid being stuck,
......
......@@ -2335,7 +2335,7 @@ cdef class HMM:
@property
def insert_emissions(self):
"""`memoryview` of `float`: The insert emissions of the model.
"""`~pyhmmer.easel.MatrixF`: The insert emissions of the model.
The property exposes a matrix of shape :math:`(M+1, K)`, with one
row per node and one column per alphabet symbol.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment