Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sphuber committed Dec 11, 2023
1 parent 9da5a83 commit b28e141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_common_workflows/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_code_from_list_or_database(codes, entry_point: str):
if entry.default_calc_job_plugin == entry_point:
return entry

result = QueryBuilder().append(AbstractCode, filters={'attributes.default_calc_job_plugin': entry_point}).first()
result = QueryBuilder().append(AbstractCode, filters={'attributes.input_plugin': entry_point}).first()

if result is not None:
return result[0]
Expand Down

0 comments on commit b28e141

Please sign in to comment.