Commit 022c2d90 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed phonon encyclopedia processing error handling.

parent ac5a936c
Pipeline #78748 passed with stages
in 20 minutes and 2 seconds
......@@ -457,7 +457,10 @@ class Calc(Proc):
except Exception as e:
logger.error("Could not retrieve method information for phonon calculation.", exception=e)
if self._entry_metadata.encyclopedia is None:
self._entry_metadata.encyclopedia = EncyclopediaMetadata()
self._entry_metadata.encyclopedia.status = EncyclopediaMetadata.status.type.failure
# persist the calc metadata
with utils.timer(logger, 'saved calc metadata', step='metadata'):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment