summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/transform.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/transform.py')
-rw-r--r--fatcat_scholar/transform.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fatcat_scholar/transform.py b/fatcat_scholar/transform.py
index 4538d70..953ebff 100644
--- a/fatcat_scholar/transform.py
+++ b/fatcat_scholar/transform.py
@@ -187,6 +187,7 @@ def transform_heavy(heavy: IntermediateBundle) -> Optional[ScholarDoc]:
work_ident: Optional[str] = None
abstracts: List[ScholarAbstract] = []
fulltext: Optional[ScholarFulltext] = None
+ primary_release: Optional[ReleaseEntity] = None
ia_sim: Optional[ScholarSim] = None
if heavy.sim_fulltext is not None:
@@ -255,7 +256,7 @@ def transform_heavy(heavy: IntermediateBundle) -> Optional[ScholarDoc]:
if container.extra.get('road'):
tags.append('road')
tags.append('oa')
- if container.extra('szczepanski'):
+ if container.extra.get('szczepanski'):
tags.append('szczepanski')
tags.append('oa')
if container.extra.get('ia', {}).get('longtail_oa'):