<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi,
<div class=""><br class="">
</div>
<div class="">I’m running a per-frame script to display the time in a MD movie. I used to run it without problems until I downloaded the new Mac OS X 64-bit 1.11 version. (I erased the old app, also tried to re-download the old version with no success).</div>
<div class=""><br class="">
</div>
<div class="">More specifically, I load the MD movie, and in the command line I write: 2dlabels create timer text "0 ns" color white ypos .9 xpos .9 size 50</div>
<div class="">then I open a per-frame script with the following commands:</div>
<div class="">
<div class=""></div>
<blockquote type="cite" class="">
<div class="">from Chimera import runCommand</div>
<div class="">runCommand("2dlabels change timer text '%.1f ns'" % (mdInfo['frame']*0.02))</div>
</blockquote>
</div>
<div class="">and get the error:</div>
<div class=""></div>
<blockquote type="cite" class="">
<div class="">Problem in per-frame script:</div>
<div class="">ImportError: No module named Chimera</div>
</blockquote>
I’ve googled it and found this reply:
<h1 style="font-family: Times; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; widows: 1;" class="">
[Chimera-users] How to install chimera as a python module</h1>
<b style="font-family: Times; font-size: medium; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; widows: 1;" class=""></b> <a href="http://www.cgl.ucsf.edu/pipermail/chimera-users/2014-July/010120.html" class="">http://www.cgl.ucsf.edu/pipermail/chimera-users/2014-July/010120.html</a>
<div class="">
<div class=""></div>
</div>
<div class=""><br class="">
</div>
<div class="">I’ve tried setting the $CHIMERA_PATH environment variable to /Applications/Chimera.app/Contents/Resources/share but I still run into the same problem.</div>
<div class=""><br class="">
</div>
<div class="">Now, I don’t want to run the script directly from the command line, as it’s a per-frame script I have to run after I load the MD movie and create the 2dlabel object.</div>
<div class=""><br class="">
</div>
<div class="">Anything obvious I’m missing here?</div>
<div class=""><br class="">
</div>
<div class="">Cheers</div>
<div class="">Juan</div>
</body>
</html>