Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotation around defined vector #4

Closed
tahereh-aram opened this issue Nov 11, 2021 · 1 comment
Closed

Rotation around defined vector #4

tahereh-aram opened this issue Nov 11, 2021 · 1 comment

Comments

@tahereh-aram
Copy link

Hi,

thanks, for uploading the useful code.

I am trying to use the code and rotate a molecule around a defined vector. According to the manual, this should be done as:
python orient.py geom.xyz -rv

It is not clear, however, how the values related to angle and x,y,z should be used, e.g.

python orient.py geom.xyz -rv 30 0 0 1
python orient.py geom.xyz -rv 30 [0 0 1]
python orient.py geom.xyz -rv 30 [0, 0, 1]
python orient.py geom.xyz -rv [30 0 0 1]
, ....

I have tried many versions and none of them is working. Can you please specify the correct notation?

Many thanks

smparker added a commit that referenced this issue Nov 11, 2021
fixed a bug in the number of arguments expected. addresses #4
@smparker
Copy link
Owner

Thanks for notifying me about the problem. I'm glad you're finding this useful so far.

There was a bug in the code for rotations around a specified vector that I just fixed. If you pull the most recent version, it should work now. The right way to call it is

python orient.py geom.xyz -rv 30 0 0 1

I will go ahead and close this issue but just comment on it again if for some reason it doesn't solve your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants