Skip to content

Return value of energy #23

@ivnsch

Description

@ivnsch

The energy function states that it returns a float: https://github.com/forlilab/waterkit/blob/master/waterkit/autodock_map.py#L396-L397

but it seems to return a float or an array: https://github.com/forlilab/waterkit/blob/master/waterkit/autodock_map.py#L437-L440

The parameter sum_energies https://github.com/forlilab/waterkit/blob/master/waterkit/autodock_map.py#L386 seems not to be used, so effectively always a float is returned? would it make sense to remove the array return and this parameter?

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