We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4424944 commit fc7ed90Copy full SHA for fc7ed90
pybliometrics/scopus/author_retrieval.py
@@ -44,8 +44,11 @@ def affiliation_history(self) -> Optional[List[NamedTuple]]:
44
Note: Unlike on their website, Scopus doesn't provide the periods
45
of affiliation.
46
"""
47
- affs = chained_get(self._profile, ["affiliation-history", "affiliation"])
48
- return parse_affiliation(affs)
+ if self._view in ('STANDARD', 'ENHANCED'):
+ affs = chained_get(self._profile, ["affiliation-history", "affiliation"])
49
+ else:
50
+ return None
51
+ return parse_affiliation(affs, self._view)
52
53
@property
54
def alias(self) -> Optional[List[str]]:
0 commit comments