ProLint / prolintpy

A python package for the automated analysis and visualization of lipid-protein interactions.
https://prolint.github.io/prolintpy
MIT License
5 stars 0 forks source link

key errors for lipidnames in local version #4

Closed s-schaef closed 3 years ago

s-schaef commented 3 years ago

Hello,

I have been trying to use prolintpy locally in jupyter to look at an atomistic system with a rather complex membrane. If I just follow the tutorial on the contact analysis (except for changing the resolution to 'atomistic') it prints out all the correct lipidnames with lipids.lipid_names()

array(['CHL1', 'PDOPE', 'PAPS', 'PLPC', 'PLA20', 'POPI2', 'POPE', 'SAPS', 'SAPE', 'DPPC', 'POPC', 'PSM'], dtype=object)

However, when I try to use those same lipids it returns key errors (see screenshot). This is true for most lipids I tested, except for POPC. When I submit this to the webserver it seems to work without issues. Could this be a version error? I installed prolintpy via pip install today (3rd Sep. 2021).

Many thanks! Stefan

Screenshot from 2021-09-03 16-42-01_cropped

bisejdiu commented 3 years ago

Hi Stefan,

Try setting the grouped option to False, since it only works with Martini systems where the lipidome is known. If that does not fix the issue we can examine it further.

Cheers

s-schaef commented 3 years ago

Awesome, that solved it! Thank you so much!