Skip to content

Commit

Permalink
Fixing the parser.
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha committed Jan 31, 2024
1 parent e45ff80 commit 081c523
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aiida_cp2k/parsers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def parse(self, **kwargs):
if isinstance(last_structure, StructureData):
self.out("output_structure", last_structure)
except common.NotExistent:
last_structure = None
self.logger.warning("No Restart file found in the retrieved folder.")

if exit_code is not None:
Expand Down

0 comments on commit 081c523

Please sign in to comment.