diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-21 17:33:58 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-21 17:33:58 -0700 |
commit | 76d9a8437a895860ca22f771ded73b5a18ba31e5 (patch) | |
tree | f3d3fad1764ad6e4bc8b27a33541e78f3e0c8c70 /python/fatcat_tools/importers/pubmed.py | |
parent | 818a891a5e306e84e8165dec28cc4a5961180e8c (diff) | |
download | fatcat-76d9a8437a895860ca22f771ded73b5a18ba31e5.tar.gz fatcat-76d9a8437a895860ca22f771ded73b5a18ba31e5.zip |
importers: create containers by default
Diffstat (limited to 'python/fatcat_tools/importers/pubmed.py')
-rw-r--r-- | python/fatcat_tools/importers/pubmed.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/pubmed.py b/python/fatcat_tools/importers/pubmed.py index 7c4e8311..055462b6 100644 --- a/python/fatcat_tools/importers/pubmed.py +++ b/python/fatcat_tools/importers/pubmed.py @@ -136,7 +136,7 @@ class PubmedImporter(EntityImporter): else: print("Not using external ID map") - self.create_containers = kwargs.get('create_containers') + self.create_containers = kwargs.get('create_containers', True) self.read_issn_map_file(issn_map_file) def lookup_ext_ids(self, pmid): @@ -294,6 +294,7 @@ class PubmedImporter(EntityImporter): extra=(container_extra or None)) ce_edit = self.create_container(ce) container_id = ce_edit.ident + self._issnl_id_map[issnl] = container_id ji = journal.JournalIssue volume = None |