ImagingDataCommons / idc-index

Python package to simplify access to the data available from NCI Imaging Data Commons
https://idc-index.readthedocs.io/
MIT License
11 stars 5 forks source link

Revisit location for installing additional parquet index files #107

Open fedorov opened 2 months ago

fedorov commented 2 months ago

@jcfr here we are downloading additional parquet files on demand by the user, and saving them into the same location as the original files installed as part of idc-index-data installation.

@vkt1414 raised a valid concern that this is probably not the best practice. Based on your experience, can you advise where such runtime-installed files should be saved? Somewhere under user home directory?

fedorov commented 2 weeks ago

@jcfr from what I could find, it seems that fetching those files into user location as enabled by this package would be better: https://github.com/tox-dev/platformdirs. Do you recommend this or any other approach?