<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Don't worry about this! <br>
</p>
<p><br>
</p>
<p>And thanks for the response. I will try it as soon as possible.</p>
<p><br>
</p>
<p>Olivier<br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Elaine Meng <meng@cgl.ucsf.edu><br>
<b>Sent:</b> Tuesday, March 2, 2021 5:31:16 PM<br>
<b>To:</b> Olivier Bignucolo<br>
<b>Cc:</b> chimera-users@cgl.ucsf.edu BB<br>
<b>Subject:</b> Re: [Chimera-users] editing session file</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Oops, should be "Olivier" ... sorry for spelling your name wrong!<br>
<br>
Elaine<br>
<br>
> On Mar 2, 2021, at 8:19 AM, Elaine Meng <meng@cgl.ucsf.edu> wrote:<br>
> <br>
> Hi Oliver, <br>
> Sorry, there is no way simply to replace one atomic model in the session with another. (It does not simply refer to a filename.)<br>
> <br>
> 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.<br>
> <br>
> The "mcopy" manual page includes examples:<br>
> <<a href="https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/mcopy.html">https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/mcopy.html</a>><br>
> <br>
> I hope this helps,<br>
> Elaine<br>
> -----<br>
> Elaine C. Meng, Ph.D. <br>
> UCSF Chimera(X) team<br>
> Department of Pharmaceutical Chemistry<br>
> University of California, San Francisco<br>
> <br>
>> On Mar 2, 2021, at 6:55 AM, Olivier Bignucolo <olivier.bignucolo@unil.ch> wrote:<br>
>> <br>
>> Dear Chimera-users,<br>
>> <br>
>> I am new to Chimera. <br>
>> I saved a session.py file that manages the appearance of, say, folder1/proteinA.pdb.
<br>
>> I would like to apply exactly the same formats, colors, etc... to proteinB.pdb located in folder2.<br>
>> <br>
>> 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:<br>
>> "open("filename","r") or anything similar. <br>
>> <br>
>> How can I reuse session.py for a new pdb file?<br>
>> <br>
>> Thanks<br>
>> Olivier<br>
> <br>
> <br>
> _______________________________________________<br>
> Chimera-users mailing list: Chimera-users@cgl.ucsf.edu<br>
> Manage subscription: <a href="https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users">
https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br>
<br>
</div>
</span></font>
</body>
</html>