summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/chocula.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/python/fatcat_tools/importers/chocula.py b/python/fatcat_tools/importers/chocula.py
index c44fec3b..e55be7d5 100644
--- a/python/fatcat_tools/importers/chocula.py
+++ b/python/fatcat_tools/importers/chocula.py
@@ -43,18 +43,12 @@ class ChoculaImporter(EntityImporter):
"""
name = clean_str(row.get("name"))
+ if name and name.endswith("."):
+ name = name[:-1]
if not name:
# Name is required (by schema)
return None
- name = name.strip()
-
- if name.endswith(", Proceedings of the"):
- name = "Proceedings of the " + name.split(",")[0]
-
- if name.endswith("."):
- name = name[:-1]
-
extra = dict()
for k in (
"urls",