[chimera-dev] Read a file from script
Elisabeth Ortega
eortega at klingon.uab.es
Thu Nov 4 11:50:56 PDT 2010
Dear all,
I need to read some parameters that are write in the same file that I have
opened. For exemple, I had a python script that parses the author of the PDB
file and I want to run it in a chimera script to use it in other part of the
script. To open the file I use:
from openSave import osOpen
f=osOpen("/home/eortega/data.pdb")
code ....
I want to do that more "polite". I mean, without write the entire route of
the file. Saying to chimera that reads the same file that it has open and
appears in the screen.
Could anyone help me?
Thanks
Best
Elisabeth Ortega
Universitat Autonoma de Barcelona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20101104/6b00e62d/attachment.html>
More information about the Chimera-dev
mailing list