Dear ChimeraX team,

 

I have a series of scripts that contain a “cd” statement to set the working directory. I execute the scripts (which opens a model and map and colors the map). I then manually adjust the orientation and threshold and want to save a picture with “save map.png” (I want this png tp be saved in the folder that I set with the script). I have noticed that in this scenario ChimeraX has “forgotten” the cd statement from the script file and has fallen back to default working directory (or the last working directory manually set in the session before I exectuted my script). At least for me it would be more convenient and logical if the working directory can be set and maintained after habing executed a script.

Note: if I don’t execute the script by double clicking but by copy/paste, the working directory is correctly maintained.

Would be great if the behavior could be adjusted 😊

 

Many thanks and best wishes,

Matthias