Skip to content

Commit

Permalink
fixed bug with n_interactions in parse_interactions
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudz committed Nov 7, 2023
1 parent 299d279 commit 970044e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atomisticparsers/utils/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def parse_interactions(self, interactions: List[Dict], sec_model: MSection) -> N
sec_interaction = sec_model.m_create(Interaction)
interaction_indices = np.where(interaction_dict['type'] == interaction_type)[0]
sec_interaction.type = interaction_type
sec_interaction.n_inter = len(interaction_indices)
sec_interaction.n_interactions = len(interaction_indices)
sec_interaction.n_atoms
for key, val in interaction_dict.items():
if key == 'type':
Expand Down

0 comments on commit 970044e

Please sign in to comment.