ucl-exoplanets / pylightcurve

A python package for modeling and analysing transit light-curves.
Other
34 stars 10 forks source link

Allow user to choose cache directory #3

Open ahmed-f-alrefaie opened 3 years ago

ahmed-f-alrefaie commented 3 years ago

Included fix to allow the database to be stored somewhere else. It can be done by exporting: export PYLC_CACHE_DIR=/path/to/cache

If it is not set then it defaults back to the home folder

The issue came about when running in Darwin as it does not allow you to write to the home folder when run as a job.