[Chimera-users] editing session file
olivier.bignucolo at unil.ch
Tue Mar 2 08:33:23 PST 2021
Don't worry about this!
And thanks for the response. I will try it as soon as possible.
From: Elaine Meng <meng at cgl.ucsf.edu>
Sent: Tuesday, March 2, 2021 5:31:16 PM
To: Olivier Bignucolo
Cc: chimera-users at cgl.ucsf.edu BB
Subject: Re: [Chimera-users] editing session file
Oops, should be "Olivier" ... sorry for spelling your name wrong!
> On Mar 2, 2021, at 8:19 AM, Elaine Meng <meng at cgl.ucsf.edu> wrote:
> Hi Oliver,
> Sorry, there is no way simply to replace one atomic model in the session with another. (It does not simply refer to a filename.)
> You can open the original session, then also open the new atomic model (e.g.proteinB.pdb), and then use the command "mcopy" to copy the settings of the first model proteinA.pdb to the new one. Then you can close the first model, and then save a new session. However, the model number of proteinB.pdb in the session won't be the same as the model number of proteinA.pdb in the original session.
> The "mcopy" manual page includes examples:
> I hope this helps,
> Elaine C. Meng, Ph.D.
> UCSF Chimera(X) team
> Department of Pharmaceutical Chemistry
> University of California, San Francisco
>> On Mar 2, 2021, at 6:55 AM, Olivier Bignucolo <olivier.bignucolo at unil.ch> wrote:
>> Dear Chimera-users,
>> I am new to Chimera.
>> I saved a session.py file that manages the appearance of, say, folder1/proteinA.pdb.
>> I would like to apply exactly the same formats, colors, etc... to proteinB.pdb located in folder2.
>> I edited session.py but was unable to find out how to do it. It seems that the python script does not contain any line like:
>> "open("filename","r") or anything similar.
>> How can I reuse session.py for a new pdb file?
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chimera-users