aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/pubmed.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/importers/pubmed.py')
-rw-r--r--python/fatcat_tools/importers/pubmed.py3
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