[chimerax-users] Removing and Testing Bundles
Anthony James Schaefer
tony.schaefer at uga.edu
Tue Nov 9 08:47:07 PST 2021
Katie,
You can uninstall a bundle with toolshed uninstall <bundle name>. The devel clean command just deletes files that are made when producing the distributable bundle file (.whl). Bundles remain installed between ChimeraX installs unless you install a new version of ChimeraX. The DevelExtras bundle on the toolshed can be used to quickly update bundles depending on what changes you are making, though this has not been updated for some time and may not work with the current version of ChimeraX.
I typically don't have issues with print() output not going to the log, so I'm not sure if that's a bug. You can use session.logger.info (or logger.info with the logger you pass to register_selector, depending on where you are debugging) as an alternative . The logger.info function takes a string as an argument. If you are printing the exact same message over and over, I've noticed the log may skip duplicates in ChimeraX 1.3.
Best,
Tony
________________________________
From: ChimeraX-users <chimerax-users-bounces at cgl.ucsf.edu> on behalf of Zeng, Jingrou via ChimeraX-users <chimerax-users at cgl.ucsf.edu>
Sent: Tuesday, November 9, 2021 10:12 AM
To: chimerax-users at cgl.ucsf.edu <chimerax-users at cgl.ucsf.edu>
Subject: [chimerax-users] Removing and Testing Bundles
[EXTERNAL SENDER - PROCEED CAUTIOUSLY]
Hello,
I am working on a selector bundle and need to actively reload it into ChimeraX every time I make changes to the code. I have followed the instructions on the tutorials and successfully loaded my bundle into ChimeraX using 'devel install [path]'. I then tried to reload the bundle after I have made changes to the code with commands 'devel clean [path]' followed by 'devel install [path]'. But ChimeraX didn't receive my update to the bundle. I tried reinstalling ChimeraX, the selector bundle still works without a separate installation and it doesn't register any updates I have made.
I am using macOS and have experimented with both daily build and 1.2.5. Is there a way of completely removing the old version of my bundle? What is the best way to do bundle reloading and testing in ChimeraX? I also want to use the print command for debugging, but printing doesn't seem to work with the ChimeraX log, is there a separate log for this situation?
Thank you for your help.
Regards,
Katie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20211109/30fa8050/attachment.html>
More information about the ChimeraX-users
mailing list