Re: [Chimera-users] Add Hydrogens - non standard residue - protonation state

Hi Subha, 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!) 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: <http://www.rbvi.ucsf.edu/chimera/docs/ProgrammersGuide/basicPrimer.html> Best, Elaine On Aug 19, 2016, at 1:57 PM, Subha Kalyaanamoorthy <kalyaana@ualberta.ca> wrote:
Hi Elaine,
Just another question,
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.
Thanks and Best Regards, Subha

Oops! Sorry, I thought I am replying to the User list. Thanks for the reply. Best Regards, Subha On Fri, Aug 19, 2016 at 3:03 PM, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Subha, 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!)
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: <http://www.rbvi.ucsf.edu/chimera/docs/ProgrammersGuide/basicPrimer.html>
Best, Elaine
On Aug 19, 2016, at 1:57 PM, Subha Kalyaanamoorthy <kalyaana@ualberta.ca> wrote:
Hi Elaine,
Just another question,
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.
Thanks and Best Regards, Subha
-- Dr. Subha Kalyaanamoorthy Post Doctoral Fellow Faculty of Pharmacy and Pharmaceutical Sciences University of Alberta Edmonton, Canada.
participants (2)
-
Elaine Meng
-
Subha Kalyaanamoorthy