Skip to content

Commit

Permalink
Fix schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinesa committed Apr 29, 2024
1 parent 1b7128c commit 85a6792
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions runschema/method.py
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ class Interaction(MSection):
)

atom_labels = Quantity(
type=str,
type=np.str_,
shape=['n_interactions', 'n_atoms'],
description="""
Labels of the atoms described by the interaction. Can be a list of lists for interaction groupings.
Expand All @@ -1481,7 +1481,7 @@ class Interaction(MSection):

atom_indices = Quantity(
type=np.int32,
shape=[],
shape=['n_interactions', 'n_atoms'],
description="""
Indices of the atoms in the system described by the interaction. Can be a list of lists for interaction groupings.
""",
Expand Down
4 changes: 2 additions & 2 deletions runschema/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class AtomsGroup(MSection):

bond_list = Quantity(
type=np.int32,
shape=[],
shape=['*', 2],
description="""
List of pairs of atom indices corresponding to bonds (e.g., as defined by a force field) within this atoms_group.
""",
Expand Down Expand Up @@ -271,7 +271,7 @@ class Atoms(MSection):

bond_list = Quantity(
type=np.int32,
shape=[],
shape=['*', 2],
description="""
List of pairs of atom indices corresponding to bonds (e.g., as defined by a force field) within the entire system.
""",
Expand Down

0 comments on commit 85a6792

Please sign in to comment.