From 3157427bef6621f18ba4016c84e50e2244dc6e31 Mon Sep 17 00:00:00 2001 From: Eachan Johnson Date: Sat, 23 Mar 2024 14:23:02 +0000 Subject: [PATCH] Fix error handling when guide not found --- crispio/map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crispio/map.py b/crispio/map.py index 516f91c..dff13d8 100644 --- a/crispio/map.py +++ b/crispio/map.py @@ -417,7 +417,7 @@ def from_mapping(cls, Examples -------- >>> genome = "CCCCCCCCCCCTTTTTTTTTTAAAAAAAAAATGATCGATCGATCGAGGAAAAAAAAAACCCCCCCCCCC" - >>> guide_seq = "ATGATCGATCGATCG" + >>> guide_seq = ["ATGATCGATCGATCG", "ATGATCGATCGATCGCCC"] >>> gl = GuideLibrary.from_mapping(guide_seq=guide_seq, genome=genome) >>> for collection in gl: ... for match in collection: