Skip to content

Commit

Permalink
Put f-string back
Browse files Browse the repository at this point in the history
  • Loading branch information
kimrutherford committed Sep 7, 2024
1 parent b15b108 commit f3e95bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protein_modification_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def check_func(row, genome, allowed_mod_dict):
dummy_rule = SyntaxRule(
type='dummy',
rule_name='dummy',
regex=r'(?<!{aa})({aa})(\d+){aa}?',
regex=fr'(?<!{aa})({aa})(\d+){aa}?',
apply_syntax=lambda x: f'{x[0]}{x[1]}',
)
# Special abbreviations for CTD modifications
Expand Down

0 comments on commit f3e95bc

Please sign in to comment.