Skip to content

Commit

Permalink
Merge pull request #101 from nomad-coe/100-errors-from-pyiron-lammps-log
Browse files Browse the repository at this point in the history
fixed regex to skip lines in log with variables
  • Loading branch information
JFRudzinski authored Mar 26, 2024
2 parents bf24430 + 4b0f139 commit c6fb75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atomisticparsers/lammps/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ def str_op(val):
self._quantities = [
Quantity(
name,
r"\n\s*%s\s+([\w\. \/\#\-]+)(\&\n[\w\. \/\#\-]*)*" % name,
r"\n\s*%s\s+(?!.*\$\{)([${}\w\. \/\#\-]+)(\&\n[\w\. \/\#\-]*)*" % name,
str_operation=str_op,
comment="#",
repeats=True,
Expand Down

0 comments on commit c6fb75e

Please sign in to comment.