Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 30, 2023
1 parent cec3fc2 commit 3ee373d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dpdata/plugins/cp2k.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def from_labeled_system(self, file_name, restart=False, **kwargs):
if tmp_virial is not None:
data["virials"] = tmp_virial
return data
#TODO: in the future, we should add exact error type here
#TODO: when pattern match is failed
#TODO: For now just use RuntimeError as a placeholder.
# TODO: in the future, we should add exact error type here
# TODO: when pattern match is failed
# TODO: For now just use RuntimeError as a placeholder.
except RuntimeError:
print(string_warning)

0 comments on commit 3ee373d

Please sign in to comment.