-
Notifications
You must be signed in to change notification settings - Fork 13
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
[BUG] Index error from AssignLeaflets with the AMBER force field #101
Comments
Hi @pablo-arantes sorry for not getting back to you sooner. That is quite strange - it's not clear where exactly the error is happening but it looks like Would you be able to share your prmtop and a small part of your dcd file and I'll take a look for you? |
Hi @p-j-smith and @pablo-arantes, I had encountered the same IndexError a while ago (still in version 0.9.0, but as far as I can tell this part is unchanged in 0.10.0). The problem appeared always when having different x and y dimensions, i.e., AssignLeaflets works fine on square membranes, and fails otherwise. At least in my case, the problem is not caused by missing z positions in The problem is solved by
and similar changes in the other calls to |
Hi @kaistroh, thanks so much for the info on the issue! I think there's still a separate issue with the AMBER force field. Diacyl lipids in the AMBER force field are composed of 3 residues - one for the headgroup and one for each tail. However, all analyses in lipyphilic assume 1 residue per lipid (as is the case in CHARMM), which I think that's the cause of the original error reported by @pablo-arantes. I've opened a separate issue (#132) and fixed (#133) for the problem you've reported @kaistroh, but fixing the AMBER issue will require a more substantial re-write of lipyphilic |
Describe the bug
Get an Index Error when running AssignLeaflets with a system built with AMBER forcefield. The membrane contains POPC.
To Reproduce
A minimal working example of code to reproduce the unexpected behaviour.
Expected behaviour
Run smoothly and store results in leaflets.leaflets attribute
Actual behaviour
Get an Index Error
Additional context
The text was updated successfully, but these errors were encountered: