Hello dear Tom, 

Thank you so much for you two answers. I was working that way, but I imagined there would be a better way to developing. Anyway, I'll continue as you told me. Thank you so much for your information. As I told you, I'm new in this and sometimes get lost.

Until the next question (there will be for sure :P) Kind regards!

Pablo S.

2017-02-21 20:28 GMT+01:00 Tom Goddard <goddard@sonic.net>:
Hi Pablo,

  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.

Tom


On Feb 20, 2017, at 1:28 PM, Pablo Solar Rodríguez wrote:

Hi all again, 

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.

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.

Any solution to this? As I told you before, I'm fully newbie with Chimera and I feel pretty lost

Thank you in advance!

_______________________________________________
Chimera-dev mailing list
Chimera-dev@cgl.ucsf.edu
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev




--

Pablo Solar Rodríguez