Skip to content

Commit

Permalink
bug fix due to aiida-core version
Browse files Browse the repository at this point in the history
  • Loading branch information
cpignedoli committed Mar 15, 2024
1 parent 7c2dd38 commit 0192acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_cp2k/workchains/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def results(self):
trajectories = self._collect_all_trajetories()
if trajectories:
self.report("Work chain completed successfully, collecting all trajectories")
if self.ctx.inputs.parameters.get("GLOBAL", {}).get("RUN_TYPE") == "GEO_OPT":
if self.ctx.inputs.parameters.get_dict().get("GLOBAL", {}).get("RUN_TYPE") == "GEO_OPT":
output_trajectory = utils.merge_trajectory_data_non_unique(*trajectories)
else:
output_trajectory = utils.merge_trajectory_data_unique(*trajectories)
Expand Down

0 comments on commit 0192acd

Please sign in to comment.