Closed bz-dev closed 2 years ago
Ah, good you found this! The path variable needs to be of object type pathlib.Path()
. Will fix this in the documentation.
Ah, good you found this! The path variable needs to be of object type
pathlib.Path()
. Will fix this in the documentation.
Thanks for your quick reply. The documentation is fine as the environment variable only takes str
. But the actual code needs updating. I've submitted a very minor pull request #229
Thanks for this!
Bug report? pybliometrics version: 3.1.0
Using code from Configuration - Custom location:
Then call
pybliometrics.scopus.ScopusSearch
, will end up with error below:This should be caused by line 9 in startup.py where the CONFIG_FILE from environment variable is treated as a string:
CONFIG_FILE = environ['PYB_CONFIG_FILE']