<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Also, if the script needs arguments you can use the ‘runscript’ command, <i class="">e.g.</i><span style="font-style: normal;" class="">:</span><div class=""><br class=""></div><div class="">runscript “/path/to/python_script.py arg1 arg2”</div><div class=""><br class=""></div><div class="">—Eric<br class=""><div class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span class="Apple-tab-span" style="white-space: pre;"><br class="Apple-interchange-newline"> </span>Eric Pettersen</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>UCSF Computer Graphics Lab</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jul 15, 2019, at 9:58 AM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi James,<br class="">In both Chimera and ChimeraX you can just open python files or command script files with the “open” command (or menu: File.. Open). Opening the file executes the script.<br class=""><br class=""><<a href="http://www.rbvi.ucsf.edu/chimerax/docs/user/commands/open.html#formats" class="">http://www.rbvi.ucsf.edu/chimerax/docs/user/commands/open.html#formats</a>><br class=""><br class="">Elaine<br class="">-----<br class="">Elaine C. Meng, Ph.D.<br class="">UCSF Chimera(X) team<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""><br class=""><blockquote type="cite" class="">On Jul 15, 2019, at 2:55 AM, James Starlight <<a href="mailto:jmsstarlight@gmail.com" class="">jmsstarlight@gmail.com</a>> wrote:<br class=""><br class="">P.S. here is an additional question about chimeraX<br class=""><br class="">as I have found it is possible to execute python scrips directly in chimera-X<br class=""><a href="https://www.cgl.ucsf.edu/chimerax/docs/devel/core/scripting.html" class="">https://www.cgl.ucsf.edu/chimerax/docs/devel/core/scripting.html</a><br class="">what is the syntaxis for command line ? (e.g. load, like in Chimera,<br class="">does not work here).<br class=""><br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>