Skip to content

Commit

Permalink
format doc
Browse files Browse the repository at this point in the history
  • Loading branch information
agoscinski committed Sep 2, 2024
1 parent fa3f780 commit a4d8ab5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aiida_workgraph/engine/workgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,9 +924,9 @@ def check_for_conditions(self) -> bool:
@calcfunction
def __getitem__(sequence, count):
value = sequence[count.value]
# only convert if not already orm type
# because sequence might be builtin collection with orm types
# so a conversion is not needed and would raise an error
# only convert value f not already orm type because sequence
# might be builtin collection with orm types so a conversion is
# not needed and would raise an error
if isinstance(value, orm.Data):
return value
else:
Expand Down

0 comments on commit a4d8ab5

Please sign in to comment.