[chimera-dev] Chimera's default directory
Shuto Araki
shutoaraki_2020 at depauw.edu
Mon Oct 30 18:11:27 PDT 2017
Hi everyone,
My name is Shuto Araki, a Computer Science student at DePauw University in Indiana.
I’m currently helping a research in biochemistry department using Chimera and Python.
My program reads a csv file and manipulate and visualize its data on Chimera.
I’m trying to read a csv file, but it only works on my computer because I have to use the absolute path for the csv file.
Is there a way to set the path relative? How can I set the default directory to the one that I set in the Tool Preferences —> Locations?
I tried os.getcwd() to see the default directory but the IDLE only returns “/“ and I’m confused because it is supposed to return a string representing the current working directory.
Could you please help me figure out what’s happening?
Sincerely,
Shuto
More information about the Chimera-dev
mailing list