Hi Soumya, Depends on your familiarity with Python really. If you don’t know Python well then it might be easier to parse the reply log. If you have some familiarity with Python then you would use the Python equivalents of the angle/distance commands to get the values and write them to a file (runCommand never returns a value itself).
In Python, you could use runCommand to select the atoms you want to measure and then:
Outside the loop
from Midas import distance, angle
Inside the loop, either
d = distance()
… write the distance to a file...
or
a = angle()
… write the angle to a file...
—Eric
Eric Pettersen
UCSF Computer Graphics Lab
Hello,
to measure certain angles and distances. I just want to know if there is a way to export the individual values of angles and distances to a file other than parsing from the reply-log. Thank you.
Best,
Soumya Govinda Remesh, Ph.D.
Postdoctoral Fellow at Advanced Light SourceLawrence Berkeley National Laboratory1 Cyclotron Road MS 6R2100Berkeley, CA 94720(phone) 510-495-8179(cell) 804-402-8730
_______________________________________________
Chimera-users mailing list:
Chimera-users@cgl.ucsf.eduManage subscription:
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users