Skip to content

Commit

Permalink
Small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippRue committed Jun 17, 2024
1 parent ec495f0 commit ff48ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_kkr/tools/common_workfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def test_and_get_codenode(codenode, expected_code_type, use_exceptions=False):
qb = QueryBuilder()
qb.append(Code, filters={'attributes.input_plugin': {'==': expected_code_type}}, project='*')

valid_code_labels = [f'{c.label}@{c.get_computer().name}' for [c] in qb.all()]
valid_code_labels = [f'{c.label}@{c.computer.label}' for [c] in qb.all()]

if valid_code_labels:
msg = (
Expand Down

0 comments on commit ff48ed1

Please sign in to comment.