We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b9f3547 + d63b9f7 commit 3311b78Copy full SHA for 3311b78
1 file changed
ALLCools/utilities.py
@@ -76,6 +76,8 @@ def parse_mc_pattern(pattern: str) -> set:
76
except KeyError:
77
raise KeyError(f"Base {base} is not in IUPAC table.")
78
context_set = {"".join(i) for i in itertools.product(*all_pos_list)}
79
+ if pattern == "CH":
80
+ context_set.add("CH")
81
return context_set
82
83
0 commit comments