Skip to content

Commit

Permalink
Fix regex in cp2k
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinesa committed May 24, 2024
1 parent bbd8cd1 commit 8293681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electronicparsers/cp2k/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ def str_to_information(val_in):
),
Quantity(
'atomic_coordinates',
r'(?i) atomic coordinates(?: in) (angstrom[\s\S]+?)\n\n\n',
r'(?i: atomic coordinates(?: in) (angstrom))([\s\S]+?)\n\n\n',
convert=False,
str_operation=str_to_atomic_coordinates,
), # TODO: if we always capture angstrom, then no need to extract the units...
Expand Down

0 comments on commit 8293681

Please sign in to comment.