[Chimera-users] python script

Hernando J Sosa hernando.sosa at einstein.yu.edu
Fri Jun 8 11:10:45 PDT 2018


Dear Chimera,

Is it possible to assign the result of running a chimera command in python to a string or something else?  E.g doing something like:

from chimera import runCommand as rc
myresult  = rc('measure center  #0:.A at CA')

And then using the  myresults somewhere else in the script after parsing for the relevant values?

Maybe there is a n easier way to accomplish this?

Thanks

Hernando



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20180608/31069e40/attachment.html>


More information about the Chimera-users mailing list