nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

mkexpactive assumes $HomeDir = /home/$Experiment #158

Open nthallen opened 2 years ago

nthallen commented 2 years ago

This assumption is usually the case, but there are reasons why we might want to do it differently.

There should be an option to read Experiment.config, perhaps by default if the experiment name is not provided.

nthallen commented 9 months ago

Also would be nice to change the default to avoid confusion with user home directories. Possible alternatives:

More than one alternative root dir is possible, but these should be setup by mkexpdir to get the permissions right. Might require elevation/sudo to create the root dir. On Windows, I do that sort of thing mostly under the PowerShell install script. Uh, but under Windows, we aren't actually creating a new directory at the root, rather in c:\cygwin64\, so that's not an issue.

nthallen commented 9 months ago

mkexpdir should accept an absolute path