Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #206 from ess-dmsc/another_regex_warning
Browse files Browse the repository at this point in the history
Fixing another regex warning in json_model.py
  • Loading branch information
rerpha authored Apr 24, 2019
2 parents f64a30d + 6a79455 commit fbf6ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexus_constructor/qml_models/json_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def assign_parent(line: JsonLine):
store_collection(collapse=True)
collecting = False
# list isn't just numbers
elif not re.match("^-?\d*\.?\d*,?$", line.strip()):
elif not re.match(r"^-?\d*\.?\d*,?$", line.strip()):
store_collection()
collecting = False
else:
Expand Down

0 comments on commit fbf6ec6

Please sign in to comment.