gallantlab / pycortex

Pycortex is a python-based toolkit for surface visualization of fMRI data
https://gallantlab.github.io/pycortex
BSD 2-Clause "Simplified" License
592 stars 138 forks source link

FIX change location of filestore during the install #433

Closed TomDLT closed 2 years ago

TomDLT commented 2 years ago

Fixes #335 #360

In some machines (macos, colab), the install would put the filestore in a location of the form build/bdist.*/wheel/pycortex-*.data/data/share/pycortex/db, which seems to be deleted after the install. This PR fixes this issue by changing the default location.


Tested on my machine:

Tested on my machine, installing with --user:

Tested on Colab: