LPDI-EPFL / masif

MaSIF- Molecular surface interaction fingerprints. Geometric deep learning to decipher patterns in molecular surfaces.
Apache License 2.0
572 stars 151 forks source link

Question regarding PyMOL plugin #15

Open zshyang opened 3 years ago

zshyang commented 3 years ago

I tried to install the provided plugin into the software (PyMOL). But I got the error message as following. 捕获 It says that the plugin is installed but the initialization fails. The above image is taken under a Windows machine. And the same situation happens on my Ubuntu machine. Does this mean that the plugin you provided only works with the MAC machine?

pablogainza commented 3 years ago

It should work on Linux+Windows+MAC. We use it in all of them. The problem is that PYTHON is not finding the loadPLY directory.

I recall once having this problem but I don't remember exactly how I solved it.

COuld you check if making the PYTHONPATH point to the plugin directory fixes it?

giavaneerspublicprojects commented 3 years ago

I am having the same problem on Mac Catalina with the same error being reported by Pymol. I made PYTHONPATH point to the ...masif-master/source/masif_pymol_plugin directory which does not help. I also assigned the same directory as a pth in the Pymol Plugin Manager Settings path. Still no go. I'd definitely like to see the PLY file.

ElvisRain commented 3 years ago

I am having the same problem on Mac Catalina with the same error being reported by Pymol. I made PYTHONPATH point to the ...masif-master/source/masif_pymol_plugin directory which does not help. I also assigned the same directory as a pth in the Pymol Plugin Manager Settings path. Still no go. I'd definitely like to see the PLY file.

Have you solved the problem? it's also bothering me...

giavaneerspublicprojects commented 3 years ago

No solution yet

On Wed, Dec 2, 2020 at 5:41 AM ElvisRain notifications@github.com wrote:

I am having the same problem on Mac Catalina with the same error being reported by Pymol. I made PYTHONPATH point to the ...masif-master/source/masif_pymol_plugin directory which does not help. I also assigned the same directory as a pth in the Pymol Plugin Manager Settings path. Still no go. I'd definitely like to see the PLY file.

Have you solved the problem? it's also bothering me...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LPDI-EPFL/masif/issues/15#issuecomment-737236588, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALOWJEFQNW7CJD4XOKVIOX3SSY7XLANCNFSM4RWQ764A .

-- Brian

ElvisRain commented 3 years ago

@ giavaneerspublicprojects

No solution yet On Wed, Dec 2, 2020 at 5:41 AM ElvisRain @.***> wrote: I am having the same problem on Mac Catalina with the same error being reported by Pymol. I made PYTHONPATH point to the ...masif-master/source/masif_pymol_plugin directory which does not help. I also assigned the same directory as a pth in the Pymol Plugin Manager Settings path. Still no go. I'd definitely like to see the PLY file. Have you solved the problem? it's also bothering me... — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#15 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALOWJEFQNW7CJD4XOKVIOX3SSY7XLANCNFSM4RWQ764A . -- Brian

I solved it by retrying..https://github.com/LPDI-EPFL/masif/blob/master/pymol_plugin_installation.md.it may help image image

giavaneerspublicprojects commented 3 years ago

Thanks. I'll give it a try.

On Wed, Dec 2, 2020 at 6:22 AM ElvisRain notifications@github.com wrote:

@ giavaneerspublicprojects

No solution yet On Wed, Dec 2, 2020 at 5:41 AM ElvisRain @.***> wrote: I am having the same problem on Mac Catalina with the same error being reported by Pymol. I made PYTHONPATH point to the ...masif-master/source/masif_pymol_plugin directory which does not help. I also assigned the same directory as a pth in the Pymol Plugin Manager Settings path. Still no go. I'd definitely like to see the PLY file. Have you solved the problem? it's also bothering me... — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#15 (comment) https://github.com/LPDI-EPFL/masif/issues/15#issuecomment-737236588>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALOWJEFQNW7CJD4XOKVIOX3SSY7XLANCNFSM4RWQ764A . -- Brian

I solved it by retrying.. https://github.com/LPDI-EPFL/masif/blob/master/pymol_plugin_installation.md http://url.it may help [image: image] https://user-images.githubusercontent.com/39047469/100884592-a29c2380-34ec-11eb-9038-f713a9b52181.png [image: image] https://user-images.githubusercontent.com/39047469/100884740-cb241d80-34ec-11eb-8991-7b4c0e7fe263.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LPDI-EPFL/masif/issues/15#issuecomment-737260142, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALOWJEC7TXNENYBCUMFNQLLSSZESFANCNFSM4RWQ764A .

ElvisRain commented 3 years ago

The problem has come up again,after restart my PC. I try to copy other 'xxx.py' contents to 'init.py', then only use 'init.py' as plugin. it works for me.https://github.com/ElvisRain/masif_pymol_plugin_demo

drewaight commented 3 years ago

go into the __init__.py file wherever you installed the plugin to something like (../python3.8/site-packages/pmg_tk/startup/masif_pymol_plugin)

change

from loadPLY import from loadDOTS import

to

from .loadPLY import from .loadDOTS import

reload the plugin.

ElvisRain commented 3 years ago

Thank you for your reply!------------------ 原始邮件 ------------------ 发件人: "drewaight"<notifications@github.com> 发送时间: 2021年1月29日(星期五) 上午6:13 收件人: "LPDI-EPFL/masif"<masif@noreply.github.com>; 抄送: "ElvisRain"<jiduoweichen@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [LPDI-EPFL/masif] Question regarding PyMOL plugin (#15)

pablogainza commented 3 years ago

Thank you for these tips! I will add a link to this thread to the documentation. Please let me know if there are more issues.

c-y-1 commented 2 years ago

thanks,I'm try now.

alirezaomidi commented 2 years ago

go into the init.py file wherever you installed the plugin to something like (../python3.8/site-packages/pmg_tk/startup/masif_pymol_plugin)

change

from loadPLY import from loadDOTS import

to

from .loadPLY import from .loadDOTS import

reload the plugin.

In addition to @drewaight's answer, you may need to change this line in the loadPLY.py file:

from simple_mesh import Simple_mesh

to this:

from .simple_mesh import Simple_mesh
suice07 commented 8 months ago

go into the init.py file wherever you installed the plugin to something like (../python3.8/site-packages/pmg_tk/startup/masif_pymol_plugin) change

from loadPLY import from loadDOTS import

to

from .loadPLY import from .loadDOTS import

reload the plugin.

In addition to @drewaight's answer, you may need to change this line in the loadPLY.py file:

from simple_mesh import Simple_mesh

to this:

from .simple_mesh import Simple_mesh

Hi, I managed to install the plugin, but in pymol, there is no highlighted color showd. Is there something wrong with it?

ByteTora commented 3 weeks ago

go into the init.py file wherever you installed the plugin to something like (../python3.8/site-packages/pmg_tk/startup/masif_pymol_plugin) change

from loadPLY import from loadDOTS import

to

from .loadPLY import from .loadDOTS import

reload the plugin.

In addition to @drewaight's answer, you may need to change this line in the loadPLY.py file:

from simple_mesh import Simple_mesh

to this:

from .simple_mesh import Simple_mesh

Hi, I managed to install the plugin, but in pymol, there is no highlighted color showd. Is there something wrong with it? at line 93: image