Skip to content

Create distance_array that can process AtomGroup #1863

@orbeckst

Description

@orbeckst

Expected behaviour

distance_array and friends are used often in user code; they should take AtomGroup instances as arguments

Actual behaviour

Exception is raise because only coordinate arrays are allows

Proposed change

Leave the distance_array in lib.distances as the bare bones version

Create a wrapper in analysis.distances that allows use of AtomGroup.

I'm not totally happy with keeping the same name but switching names in one either of the two places will break code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions