diff options
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r-- | python/fatcat_tools/importers/journal_metadata.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/journal_metadata.py b/python/fatcat_tools/importers/journal_metadata.py index 57e5ed73..75ee34d8 100644 --- a/python/fatcat_tools/importers/journal_metadata.py +++ b/python/fatcat_tools/importers/journal_metadata.py @@ -89,10 +89,14 @@ class JournalMetadataImporter(EntityImporter): if extra_ia: extra['ia'] = extra_ia + name = clean(row.get('name')) + if not name: + return None + ce = fatcat_client.ContainerEntity( issnl=row['issnl'], container_type=None, # TODO - name=clean(row.get('name')), + name=name, publisher=clean(row.get('publisher')), wikidata_qid=None, # TODO extra=extra) |