# HG changeset patch # User jpayne # Date 1714968759 14400 # Node ID ccec96a537b7f59c033ad98d5d6b6e7e57f13565 # Parent f9f1d0a0599a43455ce6054b3c1732dbfff6bfed planemo upload for repository https://toolrepo.galaxytrakr.org/view/jpayne/bioproject_to_srr_2/556cac4fb538 diff -r f9f1d0a0599a -r ccec96a537b7 bio2srr.py --- a/bio2srr.py Sun May 05 23:58:19 2024 -0400 +++ b/bio2srr.py Mon May 06 00:12:39 2024 -0400 @@ -89,7 +89,7 @@ for field, value in replyy.get("result", {}).items(): if "uids" not in field: yield bioproject, field, value["sampledata"] # this is XML, deleriously - sleep(0.1) + sleep(1) biosample_example = """ @@ -156,7 +156,7 @@ response.raise_for_status() reply = response.json() for ids in batched(reply.get("linksets", [{}])[0].get("linksetdbs", [{}])[0].get("links", []), 200): - sleep(0.1) + sleep(0.3) response = requests.get(esummary, params=dict(id=','.join(ids), db="sra", format="json")) response.raise_for_status() replyy = response.json()