Skip to content

Commit

Permalink
Merge 87b08ad into 18695f7
Browse files Browse the repository at this point in the history
  • Loading branch information
federicazanca committed May 3, 2024
2 parents 18695f7 + 87b08ad commit f799721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_mlip/calculations/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def prepare_for_submission(
cmd_line["arch"] = architecture

model_path = None
if "model" in self.inputs:
if "model" in self.inputs and self.inputs.model is not None:
model_path = self.inputs.model.filepath
else:
if "config" in self.inputs and "model" in self.inputs.config:
Expand Down

0 comments on commit f799721

Please sign in to comment.