Commit 2e13e6bb authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Fixed typo and uncommented parts of the phonon processing.

parent 85211963
Pipeline #76739 passed with stages
in 20 minutes and 39 seconds
......@@ -111,7 +111,7 @@ material_result = api.model("material_result", {
enc_filter = [
Q("term", published=True),
Q("term", with_embargo=False),
Q("term", encyclopedia__staus="success"),
Q("term", encyclopedia__status="success"),
]
......
......@@ -1032,9 +1032,9 @@ class Upload(Proc):
# calculations. TODO: This should be replaced by a more
# extensive mechamism that supports more complex dependencies
# between calculations.
# phonon_calculations = Calc.objects(upload_id=self.upload_id, parser="parsers/phonopy")
# for calc in phonon_calculations:
# calc.process_phonon()
phonon_calculations = Calc.objects(upload_id=self.upload_id, parser="parsers/phonopy")
for calc in phonon_calculations:
calc.process_phonon()
self.cleanup()
else:
......
Markdown is supported
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