From 43f23172e38bb466cff0a649ae8978eff08cbb58 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 4 Feb 2019 10:14:25 -0800 Subject: fix missing in_ia_sim flag in release-to-es --- python/fatcat_tools/transforms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/fatcat_tools/transforms.py b/python/fatcat_tools/transforms.py index e95d6d30..182be26e 100644 --- a/python/fatcat_tools/transforms.py +++ b/python/fatcat_tools/transforms.py @@ -210,6 +210,7 @@ def release_to_elasticsearch(entity, force_bool=True): t['is_oa'] = bool(is_oa) t['is_longtail_oa'] = bool(is_longtail_oa) t['in_kbart'] = bool(in_kbart) + t['in_ia_sim'] = bool(in_ia_sim) t['in_jstor'] = bool(in_jstor) t['in_web'] = bool(in_web) t['in_dweb'] = bool(in_dweb) @@ -217,6 +218,7 @@ def release_to_elasticsearch(entity, force_bool=True): t['is_oa'] = is_oa t['is_longtail_oa'] = is_longtail_oa t['in_kbart'] = in_kbart + t['in_ia_sim'] = in_ia_sim t['in_jstor'] = in_jstor t['in_web'] = in_web t['in_dweb'] = in_dweb -- cgit v1.2.3