diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-04 10:14:25 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-04 10:14:25 -0800 |
commit | 43f23172e38bb466cff0a649ae8978eff08cbb58 (patch) | |
tree | 55a0b593c3c68de9ba02531fe7a4a91938f60bd5 /python/fatcat_tools/transforms.py | |
parent | 4c76c36690f384e3b51530ed29ad9a53c9510abe (diff) | |
download | fatcat-43f23172e38bb466cff0a649ae8978eff08cbb58.tar.gz fatcat-43f23172e38bb466cff0a649ae8978eff08cbb58.zip |
fix missing in_ia_sim flag in release-to-es
Diffstat (limited to 'python/fatcat_tools/transforms.py')
-rw-r--r-- | python/fatcat_tools/transforms.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |