Skip to content

Commit d726033

Browse files
authored
fix bug in recognize CH pattern
1 parent 3f53187 commit d726033

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ALLCools/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ 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':
79+
if pattern == 'CH':
8080
context_set.add('CH')
8181
return context_set
8282

0 commit comments

Comments
 (0)