Skip to content

Possibility to extend the CVComputer class to CVs of vector type #3

Description

@roponnet

When trying to calculate CVs of the vector type such as CenterOfMass and CenterOfPosition using CVComputer class of thermodynamics.trajectory, I got following error:
"thermolib/thermodynamics/trajectory.py", line 207, in _read_xyz
cvdata[:,0] = data
~~~~~~^^^^^
ValueError: setting an array element with a sequence. The requested array would exceed the maximum number of dimension of 1."
Is there a possibility to extend the CVComputer class in thermodynamics.trajectory such that this can also handle a CVs of the 'vector' type?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions