aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r--python/fatcat_tools/importers/arxiv.py5
-rw-r--r--python/fatcat_tools/importers/jalc.py4
-rw-r--r--python/fatcat_tools/importers/jstor.py5
-rw-r--r--python/fatcat_tools/importers/pubmed.py5
4 files changed, 0 insertions, 19 deletions
diff --git a/python/fatcat_tools/importers/arxiv.py b/python/fatcat_tools/importers/arxiv.py
index 7a689ed2..0957db2c 100644
--- a/python/fatcat_tools/importers/arxiv.py
+++ b/python/fatcat_tools/importers/arxiv.py
@@ -370,8 +370,3 @@ class ArxivRawImporter(EntityImporter):
resp = self.parse_record(article)
print(json.dumps(resp))
# sys.exit(-1)
-
-
-if __name__ == "__main__":
- parser = ArxivRawImporter(None)
- parser.parse_file(open(sys.argv[1]))
diff --git a/python/fatcat_tools/importers/jalc.py b/python/fatcat_tools/importers/jalc.py
index 8e3af416..a7e06e6a 100644
--- a/python/fatcat_tools/importers/jalc.py
+++ b/python/fatcat_tools/importers/jalc.py
@@ -409,7 +409,3 @@ class JalcImporter(EntityImporter):
print(resp)
# sys.exit(-1)
-
-if __name__ == "__main__":
- parser = JalcImporter(None, None)
- parser.parse_file(open(sys.argv[1]))
diff --git a/python/fatcat_tools/importers/jstor.py b/python/fatcat_tools/importers/jstor.py
index 8c7bfad4..287fb308 100644
--- a/python/fatcat_tools/importers/jstor.py
+++ b/python/fatcat_tools/importers/jstor.py
@@ -333,8 +333,3 @@ class JstorImporter(EntityImporter):
resp = self.parse_record(article)
print(json.dumps(resp))
# sys.exit(-1)
-
-
-if __name__ == "__main__":
- parser = JstorImporter(None, None)
- parser.parse_file(open(sys.argv[1]))
diff --git a/python/fatcat_tools/importers/pubmed.py b/python/fatcat_tools/importers/pubmed.py
index cfdafcf7..97433445 100644
--- a/python/fatcat_tools/importers/pubmed.py
+++ b/python/fatcat_tools/importers/pubmed.py
@@ -851,8 +851,3 @@ class PubmedImporter(EntityImporter):
resp = self.parse_record(article)
print(json.dumps(resp))
# sys.exit(-1)
-
-
-if __name__ == "__main__":
- parser = PubmedImporter(None, None)
- parser.parse_file(open(sys.argv[1]))