Skip to content

Commit

Permalink
Fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
eachanjohnson committed Feb 25, 2024
1 parent f969d3b commit 18b13ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crispio/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def as_gff(self,
Examples
--------
>>> genome = "TTTTTTTTTTAAAAAAAAAATGATCGATCGATCGNGGAAAAAAAAAACCCCCCCCCCC"
>>> gl = GuideLibrary.from_generating(genome=genome) # doctest: +SKIP
>>> gl = GuideLibrary.from_generating(genome=genome)
1it [00:00, 2223.92it/s, at_site=34, direction=forward, guides_created=1, pam_sites_found=1]
3it [00:00, 6397.01it/s, at_site=53, direction=reverse, guides_created=4, pam_sites_found=4]
>>> for gff in gl.as_gff(gff_defaults=dict(seqid='my_seq', source='here', feature='protospacer')):
Expand Down Expand Up @@ -362,7 +362,7 @@ def from_mapping(cls,
--------
>>> genome = "TTTTTTTTTTAAAAAAAAAATGATCGATCGATCGNGGAAAAAAAAAACCCCCCCCCCC"
>>> guide_seq = "ATGATCGATCGATCG"
>>> gl = GuideLibrary.from_mapping(guide_seq=guide_seq, genome=genome) # doctest: +SKIP
>>> gl = GuideLibrary.from_mapping(guide_seq=guide_seq, genome=genome)
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1/1 [00:00<00:00, 2263.52it/s, current=ATGATCGATCGATCGNGG, not_found=0]
Not found: 0 guides:
<BLANKLINE>
Expand Down Expand Up @@ -477,7 +477,7 @@ def from_generating(cls,
Examples
--------
>>> genome = "TTTTTTTTTTAAAAAAAAAATGATCGATCGATCGNGGAAAAAAAAAACCCCCCCCCCC"
>>> gl = GuideLibrary.from_generating(genome=genome) # doctest: +SKIP
>>> gl = GuideLibrary.from_generating(genome=genome)
1it [00:00, 2223.92it/s, at_site=34, direction=forward, guides_created=1, pam_sites_found=1]
3it [00:00, 6397.01it/s, at_site=53, direction=reverse, guides_created=4, pam_sites_found=4]
>>> gl.genome
Expand Down

0 comments on commit 18b13ac

Please sign in to comment.