-
Notifications
You must be signed in to change notification settings - Fork 639
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
Errors with "around" selection command in version 0.16 #1311
Comments
This is very possible, I did refactor the around selection. Can you make an
example from our test files Max?
…On Sat, 15 Apr 2017, 6:20 p.m. Max, ***@***.***> wrote:
Expected behaviour
Correct number of atoms in selection with "around" keyword.
Actual behaviour
As of version 0.16.0, the atom selection command "around" does not yield
the same
results as version 0.15 .
The results gained from the older version are in agreement with VMD's
"within" selection keyword, i.e.
set sel [atomselect top "segname A and within 5 of segname B"]
Perhaps I missed something important in the Release Notes that explains
this behavior...
Code to reproduce the behaviour
import MDAnalysis as mda
u = mda.Universe(top, trj)
u.select_atoms("segid A and around 5 segid B")
Currently version of MDAnalysis:
0.16.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1311>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI0jB_RVV7BDVadEk3GG5lwNWE-dSId_ks5rwPxigaJpZM4M-aAM>
.
|
I will try to do so asap... |
@maxscheurer if it's tricky to make it not work using the test files you can also just upload a system here where you're getting different results |
Thanks for reporting. An example would be crucial, though. |
@maxscheurer have you had time to look at an example? |
ping @maxscheurer ... we would like to look at this issue but we really need something to work with. |
@orbeckst, I will try to upload something tomorrow. Thanks for the reminder! |
@orbeckst, the issue seems to be fixed in MDAnalysis version 0.16.1 |
Just in case this crops up later, I think what happened here wasn't actually the |
Expected behaviour
Correct number of atoms in selection with "around" keyword.
Actual behaviour
As of version 0.16.0, the atom selection command "around" does not yield the same
results as version 0.15 .
The results gained from the older version are in agreement with VMD's "within" selection keyword, i.e.
Perhaps I missed something important in the Release Notes that explains this behavior...
Code to reproduce the behaviour
Currently version of MDAnalysis:
0.16.0
The text was updated successfully, but these errors were encountered: