[chimera-dev] Pointer to model when opened
Pablo Solar Rodríguez
pablosolar.r at gmail.com
Tue Apr 24 01:20:25 PDT 2018
Hello Eric and the rest of mates!
I would like to know if when you open a PDB through Midas 'open' method,
the opened model is returned.
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.
The idea is something like:
if os.path.exists(model_path):
from Midas import open
self.model_path_pointer = open(model_path, filetype="pdb")
And whenever I need, make:
self.model_path_pointer.name
self.model_path_pointer.id
....
*Thank you in advance and kind regards!*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20180424/3a94f184/attachment.html>
More information about the Chimera-dev
mailing list