Open mmagnus opened 6 years ago
OK, I got this to work. However when I click on the space key to see quicklook I get a blank preview. Any idea?
OK, I see now the problem is how to install Jolecule.
Any help how to install it?
I'm able to run
[mm] jolecule-master$ ./jol-electron.sh
[ '/Applications/Electron.app/Contents/MacOS/Electron', '.' ] []
/Users/magnus/Desktop/jolecule-master/examples/1mbo.views.json
and see the demo. But how to set it up for the plugin?
Hi Marcin,
Sorry for the slow response, I've been a bit busy this afternoon in the lab.
I unfortunately have not kept this plugin up to date as Apple were updating OSX and quicklook faster than I could update the plugin.
To be honest, I'm surprised you have got part of it working at all.
The last time I attempted to get the plugin working again, I ran into problems with how quicklook was sandboxing the html/js code. For some reason, I was unable to pass the contents of the file into the html code that would launch jolecule, or there was some problem with jolecule not being rendered correctly. It may have also been that quicklook disabled the use of html/js since when I had the plugin working.
Looking at your latest comment on the issue, it seems that you tried to install jolecule externally to the plugin. The plugin is probably not going to be able to utilise this as I was using a stripped down/hard coded copy of jolecule within the plugin contents.
I'm currently running OSX 10.12.3 on my laptop. If I get some time this week, I can try dig into the code again, but I'm not sure that I can fix it for either sierra or high sierra.
Hihi, thanks for these great plugins, I wanted to have something like this for years!
I see this is way more difficult to get this jolecule
to run.
Do you think it would be easier to simply hack something that will make cartoon preview based on PyMOL in Spotlight and QuickLook, and keep fancy jolecule
for later?
I will try to contribute later and promote the tool in labs that I know people might want to use it, maybe some of them will chip in and we can get this done.
I think even simple cartoon preview in Quicklook and Spotlight would be awesome. I do code, but I have never coded anything within Apple ecosystem nor QuickLook plugin. If you could hack something like this, that would be awesome.
Anyway, still it's pretty great, and a nice starting point for development.
Hi Marcin,
The last time I tried to update this code was in 2016, where I was looking at incorporating the PV javascript pdb viewer into quicklook, but was unsuccessful in getting it to work.
A simple cartoon preview generated by pymol or some other application should definitely work.
I'll hopefully find some time in the next week to start on it.
Thanks! and if you could comment on how to change a bit cartoon representation in thumbnails, that would be also great!
The plugin is awesome!
OK, it seems that changing .pymolrc file is enough.
--edit: OK, this is not relevant.