[chimera-dev] cd command
Eric Pettersen
pett at cgl.ucsf.edu
Fri Jan 24 16:42:22 PST 2014
On Jan 24, 2014, at 2:16 PM, "Dougherty, Matthew T" <matthewd at bcm.edu> wrote:
> can you tell me where the chimera command "cd" python code is located?
It's in the doCd function in Midas.midas_text. Minus some error handling, the function is basically one line:
os.chdir(tildeExpand(args))
tildeExpand is a function in the OpenSave module which does some fancy footwork to expand '~' to a user's home directory on Windows machines.
--Eric
Eric Pettersen
UCSF Computer Graphics Lab
http://www.cgl.ucsf.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20140124/4a3a7c22/attachment.html>
More information about the Chimera-dev
mailing list