Skip to content

flexorObj.create range parameter does not work with OMVV #8

@cezieu

Description

@cezieu

When range is not "all" , and integrator is set to OMMVV (integrators = [robosample.IntegratorType.OMMVV]),
the following error is produced when using flexes generated by flexorObj.create (on molecule 2but , range="resid 1" in this example)
OMMVV error: nofBodies not equal to nofAtoms: 2 16
Traceback (most recent call last):
File "/home/cezar/Robosample/buildpy/roborun.py", line 121, in
context.RunREX(args.equil_steps, args.prod_steps)
RuntimeError: std::exception
The error can be reproduced when using flexorObj.create_from_list.
flex = flexorObj.create_from_list([[1,2],[2,3]], robosample.BondMobility.Torsion) leads to the same error:
OMMVV error: nofBodies not equal to nofAtoms: 3 16
Traceback (most recent call last):
File "/home/cezar/Robosample/buildpy/roborun.py", line 121, in
context.RunREX(args.equil_steps, args.prod_steps)
RuntimeError: std::exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions