<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 Pablo,<div class=""><br class=""></div><div class=""> The basic development cycle is 1) modify the code, 2) restart Chimera and test, repeat. Reloading modules is a known problem with Python, not specific to Chimera. If you change file a.py you not only need to use "reload(a)", you would need to reload everything that uses “a.py" (via “import a”) because all those other files still refer to the old version of “a.py” even after you reload a.py.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 20, 2017, at 1:28 PM, Pablo Solar Rodríguez wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">Hi all again, </div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><br class=""></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">While I try how to debug my plugin with Chimera (I posted that question here), I downloaded the 'Fit in map' tool source code to create my own plugin from it. So I changed the name in ChimeraExtension.py and loaded it in Tools -> Volume Data to check that my new plugin was loaded succesfully.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><br class=""></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">The point now is that when I make some changes in my code, they are not immediately visible when I open the plugin again. Even more, I am not capable to "reload" the plugin with the new changes.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><br class=""></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">Any solution to this? As I told you before, I'm fully newbie with Chimera and I feel pretty lost</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><br class=""></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">Thank you in advance!</div><div class=""><br class=""></div>
</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>