flatironinstitute / mountainlab-js

MountainLab is data processing, sharing and visualization software for scientists. It is built around MountainSort, spike sorting software, but is designed to be more generally applicable.
Other
43 stars 30 forks source link

Make database path respect correct config directory location #78

Closed tjd2002 closed 5 years ago

tjd2002 commented 5 years ago

The 'database' directory was still getting written to ~/.mountainlab, even with a conda install.

This can lead to some unexpected interactions when MountainLab is installed in more than one conda env.

tjd2002 commented 5 years ago

@magland this is my first attempt at writing javascript, so please give the code a once-over to make sure it looks reasonable.

I only tested this by running ml-list-processors and ml-config (and making sure the db got created in the correct location.

tjd2002 commented 5 years ago

cc @droumis

alexmorley commented 5 years ago

@tjd2002 I can't test but all looks good :tada:

magland commented 5 years ago

Looks good to me. Merging.