
Hi Ishaan, You can import the run function but it will fail if you use it. As for examples I hunted around and found these https://github.com/RBVI/ChimeraX/tree/develop/wheel/tests I put into the bug report about improving the PyPi ChimeraX description a request for examples. https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/15647 As I mentioned before the developer who works on this is on vacation this week, so you are going to have to just try things to see if they work, or wait until he gets back. As I mentioned the usual way to run ChimeraX Python scripts is with the app. While it would be nice if you could use the PyPi package, it was intended to do what you are trying, it obviously is in poor shape with missing code and hard to find examples. Tom
On Jul 22, 2024, at 2:06 PM, ishaanawasthi05--- via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi Tom,
I did just find this documentation: https://www.cgl.ucsf.edu/chimerax/docs/devel/modules/core/commands/commands....
But it doesn't include any information on how to declare the session parameter. Earlier in the documentation it says this:
"The command function arguments are expected to start with a session argument. The rest of the arguments are assembled as keyword arguments, as built from the command line and the command description. The initial session argument to a command function is not part of the command description."
Not sure how to make sense of all this. Do you have any familiarity with what I should be doing here? Thank you so much for the help, this is really clearing it up for me. _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/