summaryrefslogtreecommitdiffstats
path: root/python/fatcat_import.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_import.py')
-rwxr-xr-xpython/fatcat_import.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/python/fatcat_import.py b/python/fatcat_import.py
index ce232e31..c5610344 100755
--- a/python/fatcat_import.py
+++ b/python/fatcat_import.py
@@ -2,7 +2,6 @@
import sys
import argparse
-from fatcat.raw_api_client import RawFatcatApiClient
from fatcat.crossref_importer import FatcatCrossrefImporter
from fatcat.orcid_importer import FatcatOrcidImporter
from fatcat.issn_importer import FatcatIssnImporter
@@ -36,10 +35,6 @@ def run_import_grobid_metadata(args):
fmi.process_source(args.tsv_file, group_size=args.group_size)
fmi.describe_run()
-def health(args):
- rfac = RawFatcatApiClient(args.host_url)
- print(rfac.health())
-
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--debug',
@@ -107,9 +102,6 @@ def main():
help="editgroup group size to use",
default=75, type=int)
- sub_health = subparsers.add_parser('health')
- sub_health.set_defaults(func=health)
-
args = parser.parse_args()
if not args.__dict__.get("func"):
print("tell me what to do!")