<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Tanja,<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Well, depending on you data it may still be possible to speed things up somewhat. It’s possible that computing the initial “smart display” is slow with your structure. You can test this out interactively by going to Favorites->Preferences, switch to the New Molecules category of Preferences, and change “smart initial display” from “true” to “false”, then open your structure. If it’s significantly faster to open with smart display off, then let me know what calls you are making to open the structure and I’ll tell you what to change to prevent smart display from happening.</div><div class=""><br class=""></div><div class="">—Eric</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>UCSF Computer Graphics Lab</div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On May 16, 2016, at 3:06 PM, Tanja Štular <<a href="mailto:ts6544@student.uni-lj.si" class="">ts6544@student.uni-lj.si</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dear Conrad,<div class=""><br class=""></div><div class="">Thank you for fast reply. Unfortunately, I'm having the problem due to the large data. As I understand correctly for now there is no way to solve this problem? I would be happy even with just making a plugin responsive while Chimera is loading. </div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Tanja</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2016-05-16 23:53 GMT+02:00 Conrad Huang <span dir="ltr" class=""><<a href="mailto:conrad@cgl.ucsf.edu" target="_blank" class="">conrad@cgl.ucsf.edu</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, Tanja.<br class="">
<br class="">
I think the answer depends on where the bottleneck lies. If the problem is that your plugin data is large and Chimera is just slow to process the data set, then there's not a whole lot we can do to speed that up. (That's why we're working on ChimeraX.) If, on the other hand, the issue is that the plugin takes some time to send data back, I may be able to help. Do you have some idea of which type of problem you're encountering? Thanks.<br class="">
<br class="">
Conrad<div class=""><div class="h5"><br class="">
<br class="">
On 5/16/2016 9:49 AM, Tanja Štular wrote:<br class="">
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class="h5">
Dear Sir or Madam,<br class="">
<br class="">
I have been developing an extension for UCSF Chimera. I'm wondering if<br class="">
there is any option for background threading for loading object to<br class="">
Chimera view? Our plugin allows loading large molecules to Chimera which<br class="">
sometimes causes freezing of Chimera and plugin for a little time. I<br class="">
know about Subprocess class<br class="">
(<a href="https://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/Examples/Main_RunSubprocess.html" rel="noreferrer" target="_blank" class="">https://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/Examples/Main_RunSubprocess.html</a>)<br class="">
but it doesn't seem to work (same goes for python threading).<br class="">
<br class="">
Thank you in advance.<br class="">
<br class="">
Best regards,<br class="">
Tanja<br class="">
<br class="">
<br class=""></div></div>
_______________________________________________<br class="">
Chimera-dev mailing list<br class="">
<a href="mailto:Chimera-dev@cgl.ucsf.edu" target="_blank" class="">Chimera-dev@cgl.ucsf.edu</a><br class="">
<a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev" rel="noreferrer" target="_blank" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev</a><br class="">
<br class="">
</blockquote>
<br class="">
</blockquote></div><br class=""></div>
_______________________________________________<br class="">Chimera-dev mailing list<br class=""><a href="mailto:Chimera-dev@cgl.ucsf.edu" class="">Chimera-dev@cgl.ucsf.edu</a><br class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev<br class=""></div></blockquote></div><br class=""></div></body></html>