Closed lewisjiang closed 2 years ago
Unfortunately there are all kinds of rare irregularities in the Scopus API. It's good you keep bringing them up :)
BTW: You might also create a PR next time if you want!
Sure, and thank you for maintaining this amazing tool for researchers!
pybliometrics version: 3.3.1.dev5
Code to reproduce the bug:
Expected behavior: The reference entries returned by Scopus can have
"author-list":null,
, while the parsing logic https://github.com/pybliometrics-dev/pybliometrics/blob/008336d41068e3b2b112b87872b0271a55615f12/pybliometrics/scopus/abstract_retrieval.py#L522 does not consider this case before or indeduplicate()
.Fix suggestion: Change https://github.com/pybliometrics-dev/pybliometrics/blob/008336d41068e3b2b112b87872b0271a55615f12/pybliometrics/scopus/utils/parse_content.py#L57 to