<div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font color="#444444" face="monospace, monospace">Hello Eric and the rest of mates!</font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace"><br></font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace">I would like to know if when you open a PDB through Midas 'open' method, the opened model is returned.</font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace"><br></font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace">I need to have access to that specific model all the time, even when IDs in the Model Panel are changed due to some other models are closed or opened.</font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace"><br></font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace">The idea is something like:</font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace"><br></font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace">if os.path.exists(model_path):</font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace"> from Midas import open</font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace"> self.model_path_pointer = open(model_path, filetype="pdb")</font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace"><br></font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace">And whenever I need, make:</font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace"><br></font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace"><a href="http://self.model_path_pointer.name">self.model_path_pointer.name</a></font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace"><a href="http://self.model_path_pointer.id">self.model_path_pointer.id</a></font></div><div class="gmail_default"><font color="#444444" face="monospace, monospace">....</font></div></div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="1" face="tahoma, sans-serif" color="#0b5394"><b><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">Thank you in advance and kind regards!</div><br></div></b></font><div><div>
<p><br></p></div></div></div></div></div></div>
</div>