From 8cd53c1edc8fab57c3d5b960a442fd0637511121 Mon Sep 17 00:00:00 2001 From: Tom Morrell Date: Mon, 8 Jan 2024 15:10:00 -0800 Subject: [PATCH] Remove unneded token --- run_authors_group_report.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run_authors_group_report.py b/run_authors_group_report.py index b0390fe..127eb46 100644 --- a/run_authors_group_report.py +++ b/run_authors_group_report.py @@ -2,14 +2,12 @@ from ames.harvesters import get_group_records from ames.matchers import edit_author_identifier -token = os.environ["CTATOK"] - group_identifier = sys.argv[1] outfile = open(f"{group_identifier}_report.csv", "w") writer = csv.writer(outfile) -to_update = get_group_records(token, group_identifier) +to_update = get_group_records(group_identifier) for record in to_update: if "doi" not in record["pids"]: metadata = record["metadata"]