diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-12-06 16:17:10 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-12-06 16:17:10 -0800 |
commit | aa72b77ba0268adac1583b96eb4ac40dbdfc9e4c (patch) | |
tree | 464273cbce516596b339c09107594d2c1fde154a /fatcat_scholar/sim_pipeline.py | |
parent | 5b8a58ab37d5187dcf750b498d5e91b91f0c758a (diff) | |
download | fatcat-scholar-aa72b77ba0268adac1583b96eb4ac40dbdfc9e4c.tar.gz fatcat-scholar-aa72b77ba0268adac1583b96eb4ac40dbdfc9e4c.zip |
fmt and comments
Diffstat (limited to 'fatcat_scholar/sim_pipeline.py')
-rw-r--r-- | fatcat_scholar/sim_pipeline.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fatcat_scholar/sim_pipeline.py b/fatcat_scholar/sim_pipeline.py index 34aaae3..65fb3bd 100644 --- a/fatcat_scholar/sim_pipeline.py +++ b/fatcat_scholar/sim_pipeline.py @@ -23,7 +23,9 @@ 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"] = [ + full["ulrichs"][0], + ] full["ulrichs"][0].pop("reviews_mfl") full["ulrichs"][0].pop("editorial_description") |