pybliometrics-dev / pybliometrics

Python-based API-Wrapper to access Scopus
https://pybliometrics.readthedocs.io/en/stable/
Other
401 stars 124 forks source link

#340 Use cache paths of config instead of DEFAULT_PATHS #342

Closed nils-herrmann closed 1 week ago

nils-herrmann commented 1 week ago

The current code was using the DEFAULT_PATHS for the creation of the cache folder. This confusion was mainly driven by the function check_default_paths() being responsible of checking the cache paths in the config file and creating the cache folders. The new PR uses a new function to create the folders separately (and improving readability).

Michael-E-Rose commented 1 week ago

Thank you! Two more minor things, then I can accept this.