Skip to content

Commit

Permalink
Another backwards compatability fix
Browse files Browse the repository at this point in the history
`QueryBuilder`'s `in` operator can't handle sets in v2.3
  • Loading branch information
edan-bainglass committed Feb 20, 2025
1 parent 547ca2b commit a2955ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiidalab_qe/common/process/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def _count_finished(self):
orm.CalcJobNode,
filters={
"and": [
{"pk": {"in": traverser.get("nodes")}},
{"pk": {"in": list(traverser.get("nodes"))}},
{"attributes.process_state": "finished"},
{"attributes.exit_status": 0},
]
Expand Down

0 comments on commit a2955ad

Please sign in to comment.