<div dir="ltr">Oops! Sorry, I thought I am replying to the User list. <div><br></div><div>Thanks for the reply.</div><div><br></div><div>Best Regards,</div><div>Subha</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 19, 2016 at 3:03 PM, Elaine Meng <span dir="ltr"><<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Subha,<br>
This is out of my area, since I don’t know python. (We always recommend sending questions to the chimera-users list, CC’d here, since you are more likely to get a good answer by asking multiple people!)<br>
<br>
I can only say that as far as I know if it works in the command line, then you should be able to use python to run the same command, as described in this page in the Chimera programmer’s guide:<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/ProgrammersGuide/basicPrimer.html" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/<wbr>chimera/docs/ProgrammersGuide/<wbr>basicPrimer.html</a>><br>
<br>
Best,<br>
Elaine<br>
<div class="HOEnZb"><div class="h5"><br>
On Aug 19, 2016, at 1:57 PM, Subha Kalyaanamoorthy <<a href="mailto:kalyaana@ualberta.ca">kalyaana@ualberta.ca</a>> wrote:<br>
<br>
> Hi Elaine,<br>
><br>
> Just another question,<br>
><br>
> Is there anything I need to import for using setattr in a python script. I get an error when I use it as a part of script. But, it works fine when I type it on the command-line of Chimera gui. Not sure what I am missing.<br>
><br>
> Thanks and Best Regards,<br>
> Subha<br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Subha Kalyaanamoorthy<div>Post Doctoral Fellow</div><div>Faculty of Pharmacy and Pharmaceutical Sciences</div><div>University of Alberta</div><div>Edmonton, Canada.</div><div><br></div></div></div>
</div>