Skip to content

Commit

Permalink
Catch exceptions when parsing output structure
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Mar 22, 2018
1 parent a48a648 commit 587cb8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aiida_cp2k/parsers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ def parse_with_retrieved(self, retrieved):

new_nodes_list = []
self._parse_stdout(out_folder, new_nodes_list)
self._parse_trajectory(out_folder, new_nodes_list)
try:
self._parse_trajectory(out_folder, new_nodes_list)
except Exception:
pass

return True, new_nodes_list

Expand Down

0 comments on commit 587cb8a

Please sign in to comment.