From eddc6f8aab9cfe550dfd8ab9640d9ce30be62f3f Mon Sep 17 00:00:00 2001 From: Thomas Morrell Date: Fri, 7 Jan 2022 10:39:17 -0800 Subject: [PATCH] Bug fix on size --- ames/harvesters/caltechdata.py | 3 ++- codemeta.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ames/harvesters/caltechdata.py b/ames/harvesters/caltechdata.py index a04345a..c14bb4f 100644 --- a/ames/harvesters/caltechdata.py +++ b/ames/harvesters/caltechdata.py @@ -21,9 +21,10 @@ def get_caltechdata(collection, production=True, datacite=False): else: url = "https://cd-sandbox.tind.io/api/records" - response = requests.get(url + "/?size=50000") + response = requests.get(url + "/?size=9000") hits = response.json() + print(hits) for h in progressbar(hits["hits"]["hits"]): rid = str(h["id"]) # Get enriched metadata records (including files) diff --git a/codemeta.json b/codemeta.json index 4975956..10050af 100644 --- a/codemeta.json +++ b/codemeta.json @@ -6,7 +6,7 @@ "codeRepository": "https://github.com/caltechlibrary/ames", "issueTracker": "https://github.com/caltechlibrary/ames/issues", "license": "https://data.caltech.edu/license", - "version": "0.8.0", + "version": "0.8.1", "author": [ { "@type": "Person",