diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-12-06 15:48:47 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-12-06 15:48:47 -0800 |
commit | c038787106576dcceb680f5714b27a8e529489ab (patch) | |
tree | 3b31b254df12ec22abd27735bca7298016f41566 /fatcat_scholar/sim_pipeline.py | |
parent | 19e334ba984513cc7cf3b4fdc92d7fa352d241bc (diff) | |
download | fatcat-scholar-c038787106576dcceb680f5714b27a8e529489ab.tar.gz fatcat-scholar-c038787106576dcceb680f5714b27a8e529489ab.zip |
SIM pipeline: retain only one ulrichs record
Diffstat (limited to 'fatcat_scholar/sim_pipeline.py')
-rw-r--r-- | fatcat_scholar/sim_pipeline.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fatcat_scholar/sim_pipeline.py b/fatcat_scholar/sim_pipeline.py index 25a46ae..18e3beb 100644 --- a/fatcat_scholar/sim_pipeline.py +++ b/fatcat_scholar/sim_pipeline.py @@ -23,6 +23,7 @@ def truncate_pub_meta(full: Dict[str, Any]) -> Dict[str, Any]: """ full.pop("files") if "ulrichs" in full and full["ulrichs"]: + full["ulrichs"] = [full["ulrichs"][0],] full["ulrichs"][0].pop("reviews_mfl") full["ulrichs"][0].pop("editorial_description") |