Skip to content

pdb2sql.transform.rot_mat does not allow to set center #87

Description

@LilySnow

Sometimes we need to set rotation center that is other than the geometric center of the whole protein.

This could be fixed by changing this line of pdb2sql.transform.rot_mat():

xyz = rotate(xyz, mat)

to

xyz = rotate(xyz, mat, center)

as rotate() supports setting center

Activity

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

Metadata

Metadata

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