Commit 9191538d authored by Mikkel Strange's avatar Mikkel Strange

fix for ase 3.11

parent 8ca331d6
......@@ -48,9 +48,13 @@ def parse(filename):
with o(p, 'section_topology'):
p.addValue('topology_force_field_name', 'EMT')
with o(p, 'section_constraint'): # assuming constraints do not
indices = [] # change from frame to frame
#indices = [] # change from frame to frame
for constraint in t[0].constraints:
d = constraint.todict()['kwargs']
if 'a' in d:
indices = np.array([d['a']])
indices = d['indices']
p.addValue('constraint_kind', get_nomad_name(constraint))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment