Skip to content

Commit

Permalink
update pattern for Scientific notation
Browse files Browse the repository at this point in the history
  • Loading branch information
GGNoWayBack committed Mar 3, 2024
1 parent a1a662b commit c77148c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cathodedataextractor/parse/regex_pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
(r'third(?=\s?cycle)', '3'),
(r'fiftieth\b', '50'),
# Scientific notation
(r'(\d)\s?,\s?(0\d+ [c°])', r'\1\2'),
(r'(\d)\s?,\s?(0\d+\s?[c°])', r'\1\2'),
(r'(?<!-|\d)(\d),(\d+\s?mA)', r'\1\2'),
# phase prefix
(r'([PO][23]-)type (?=Na)', r'\1'),
Expand Down

0 comments on commit c77148c

Please sign in to comment.