Skip to content

Commit 971b7bd

Browse files
committed
fix docs
1 parent aee26df commit 971b7bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/tutorials/state_tutorial.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@
8282
For TorchSim to know which attributes are atomwise, systemwise, and global, each attribute's
8383
name is explicitly defined in the `_atom_attributes`, `_system_attributes`, and `_global_attributes`:
8484
85-
_atom_attributes = ("positions", "masses", "atomic_numbers", "system_idx")
86-
_system_attributes = ("cell",)
87-
_global_attributes = ("pbc",)
85+
_atom_attributes = {"positions", "masses", "atomic_numbers", "system_idx"}
86+
_system_attributes = {"cell"}
87+
_global_attributes = {"pbc"}
8888
8989
You can use the `get_attrs_for_scope` generator function to analyze a state's properties. This
9090
is mostly used internally but can be useful for debugging.

0 commit comments

Comments
 (0)