Skip to content
Snippets Groups Projects
Commit 82a42503 authored by Blaise Li's avatar Blaise Li
Browse files

Transmit __doc__.

parent 2d4a9a65
No related branches found
No related tags found
No related merge requests found
......@@ -216,9 +216,11 @@ def make_fq_filter(str rpf_type, object isgood):
"""Reads of length 29 are called RPF29."""
(_, seq, _) = fq_triplet
return cread_is_29nt(len(seq))
setattr(fq_filter, "__doc__", RPF2IS_FUN[rpf_type].__doc__)
else:
is_fun = RPF2IS_FUN[rpf_type]
def fq_filter(fq_triplet):
(_, seq, _) = fq_triplet
return is_fun(isgood, seq, len(seq))
setattr(fq_filter, "__doc__", is_fun.__doc__)
return fq_filter
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment