From c038787106576dcceb680f5714b27a8e529489ab Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 6 Dec 2021 15:48:47 -0800 Subject: SIM pipeline: retain only one ulrichs record --- fatcat_scholar/sim_pipeline.py | 1 + 1 file changed, 1 insertion(+) (limited to 'fatcat_scholar/sim_pipeline.py') 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") -- cgit v1.2.3