Skip to content

Commit 3311b78

Browse files
authored
Merge branch 'master' into master
2 parents b9f3547 + d63b9f7 commit 3311b78

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ALLCools/utilities.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ def parse_mc_pattern(pattern: str) -> set:
7676
except KeyError:
7777
raise KeyError(f"Base {base} is not in IUPAC table.")
7878
context_set = {"".join(i) for i in itertools.product(*all_pos_list)}
79+
if pattern == "CH":
80+
context_set.add("CH")
7981
return context_set
8082

8183

0 commit comments

Comments
 (0)