Revert rotate default to before #1022#1242
Merged
orbeckst merged 4 commits intoMDAnalysis:developfrom Mar 16, 2017
Merged
Conversation
kain88-de
commented
Mar 13, 2017
| MMTF_gz = resource_filename(__name__, 'data/5KIH.mmtf.gz') | ||
|
|
||
| ALIGN_BOUND = resource_filename(__name__, 'data/analysis/align_bound.pdb.gz') | ||
| ALIGN_UNBOUND = resource_filename(__name__, 'data/analysis/align_unbound.pdb.gz') |
Member
Author
There was a problem hiding this comment.
Are there any other two protein datafiles we already have and could use for this test? I didn't find any skipping over the list.
4 tasks
package/MDAnalysis/core/groups.py
Outdated
| .. math:: | ||
|
|
||
| \mathbf{x}' = \mathsf{R}\mathbf{x} | ||
| By default rotates around center of origin ``point=(0, 0, 0)``. |
Member
There was a problem hiding this comment.
Would it be worth adding a comment how to rotate around the COM of the AG as a hint? Ie how to get the behaviour that you wanted to implement as default
Member
Author
There was a problem hiding this comment.
I added in the notes now how once can chose a different rotation center. For my original case it is already good that the paramter list gives me the option and tells me the default is 0, 0, 0
To not break a lot of old code restore the old behavior of rotate to use (0, 0, 0) as center of the rotation.
This aligns a partial universe of two proteins.
Member
|
Can I merge? |
Member
Author
|
Sure. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1022
Changes made in this Pull Request:
ag.rotaterotates around 0, 0, 0 again.This version now is good. It keeps old code working and it allows me to quickly check the center of rotation and change it.
PR Checklist