aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-22 13:54:29 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-22 13:54:29 -0800
commit72f446f20bb9c3ec498323a692a5b813c3cdd1a9 (patch)
treeb0ca869c5175b0027b9637243938609bd0a982f5
parentc07ab480fa63d0e2379d4380ad3d96aa8cb961a3 (diff)
downloadfatcat-72f446f20bb9c3ec498323a692a5b813c3cdd1a9.tar.gz
fatcat-72f446f20bb9c3ec498323a692a5b813c3cdd1a9.zip
pubmed+datacite tokens; no journal,grobid,matched tokens
-rw-r--r--python/env.example5
-rwxr-xr-xpython/fatcat_import.py4
2 files changed, 4 insertions, 5 deletions
diff --git a/python/env.example b/python/env.example
index a171ac09..75fc5238 100644
--- a/python/env.example
+++ b/python/env.example
@@ -15,6 +15,5 @@ SENTRY_DSN=""
# FATCAT_API_AUTH_TOKEN
FATCAT_AUTH_WORKER_CROSSREF=""
FATCAT_AUTH_WORKER_ORCID=""
-FATCAT_AUTH_WORKER_JOURNAL_METADATA=""
-FATCAT_AUTH_WORKER_MATCHED=""
-FATCAT_AUTH_WORKER_GROBID_METADATA=""
+FATCAT_AUTH_WORKER_PUBMED=""
+FATCAT_AUTH_WORKER_DATACITE=""
diff --git a/python/fatcat_import.py b/python/fatcat_import.py
index ed12416c..294a1949 100755
--- a/python/fatcat_import.py
+++ b/python/fatcat_import.py
@@ -113,7 +113,7 @@ def main():
sub_matched = subparsers.add_parser('matched')
sub_matched.set_defaults(
func=run_matched,
- auth_var="FATCAT_AUTH_WORKER_MATCHED",
+ auth_var="FATCAT_API_AUTH_TOKEN",
)
sub_matched.add_argument('json_file',
help="JSON file to import from (or stdin)",
@@ -128,7 +128,7 @@ def main():
sub_grobid_metadata = subparsers.add_parser('grobid-metadata')
sub_grobid_metadata.set_defaults(
func=run_grobid_metadata,
- auth_var="FATCAT_AUTH_WORKER_GROBID_METADATA",
+ auth_var="FATCAT_API_AUTH_TOKEN",
)
sub_grobid_metadata.add_argument('tsv_file',
help="TSV file to import from (or stdin)",