conradtchan / starfit

Fit stellar abundance measurements to stellar models
Other
2 stars 0 forks source link

Automatically downloading the data files is problematic #212

Open conradtchan opened 1 year ago

conradtchan commented 1 year ago

abusets automatically downloads data files on import if they are not present.

From pip's perspective, these files are "manually added", so they are not removed when starfit is uninstalled.

Also, generating the documentation automatically using sphinx-apidoc requires the starfit module to be loaded. On the readthedocs runners, this will download the data for every build, since they start from a clean environment. This slows down the build, and is a waste of bandwidth.

The solution is to find an alternative to automatically downloading files on import. For example: