diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-29 14:31:26 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-29 14:31:26 -0800 |
commit | ec2809ef2ac51c992463839c1e3451927f5e1661 (patch) | |
tree | d95c1b17e3bd8fc93179551ee130004c73513c16 /python/fatcat_tools/transforms | |
parent | eb60449cdc9614ec7eda79b8481d1d8487b9a5f6 (diff) | |
parent | 487923dc81d877207556f8a90a3ce048fe6bafb5 (diff) | |
download | fatcat-ec2809ef2ac51c992463839c1e3451927f5e1661.tar.gz fatcat-ec2809ef2ac51c992463839c1e3451927f5e1661.zip |
Merge branch 'bnewbold-container-merger'
Diffstat (limited to 'python/fatcat_tools/transforms')
-rw-r--r-- | python/fatcat_tools/transforms/elasticsearch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py index c16053ec..a6d85f7e 100644 --- a/python/fatcat_tools/transforms/elasticsearch.py +++ b/python/fatcat_tools/transforms/elasticsearch.py @@ -284,7 +284,7 @@ def _rte_container_helper(container: ContainerEntity, release_year: Optional[int t["container_name"] = container.name # this is container.ident, not release.container_id, because there may # be a redirect involved - t["container_id"] = container.ident + t["container_id"] = container.redirect or container.ident t["container_issnl"] = container.issnl issns = [container.issnl, container.issne, container.issnp] issns = list(set([i for i in issns if i])) |