Skip to content

Commit

Permalink
FIX: error/typo in the groups how-to documentation (aiidateam#5238)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramirezfranciscof authored and unkcpz committed Jan 10, 2022
1 parent 8d86be5 commit f75805f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/howto/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ To achieve the same result as above one would need to do something as follows:
group = load_group(label='promising_structures')
# Here make sure to include only structures, as group can contain any nodes.
structures = [s for s in group.nodes if isinstance(nodes, StructureData)]
structures = [node for node in group.nodes if isinstance(node, StructureData)]
for structure in structures:
builder = SomeWorkChain.get_builder()
builder.structure = structure
Expand Down

0 comments on commit f75805f

Please sign in to comment.