diff --git a/nomad/normalizing/encyclopedia/encyclopedia.py b/nomad/normalizing/encyclopedia/encyclopedia.py index 1a7bc4ec1e977b7cbb7b94c072689e0cd6d07662..5a88c70cf694cb13f598e674a2c957ed0ed9b802 100644 --- a/nomad/normalizing/encyclopedia/encyclopedia.py +++ b/nomad/normalizing/encyclopedia/encyclopedia.py @@ -249,8 +249,10 @@ class EncyclopediaNormalizer(Normalizer): "unsupported material type for encyclopedia", enc_status=status, ) + return - # Get the method type + # Get the method type. For now, we allow unknown method type to + # allow phonon calculations through. representative_method, method_type = self.method_type(method) if method_type == config.services.unavailable_value: status = status_enums.unsupported_method_type diff --git a/nomad/processing/data.py b/nomad/processing/data.py index 193d215dff33ee4d9edfb90bb3b80e50d598ef85..540bd0e078bec044b49ebf76bc74ea32d0f4d126 100644 --- a/nomad/processing/data.py +++ b/nomad/processing/data.py @@ -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: