diff options
author | Peter Amstutz | 2020-04-07 14:37:19 -0400 |
---|---|---|
committer | Peter Amstutz | 2020-04-07 14:37:19 -0400 |
commit | 4215a82af730ff05b8fe98e226b759413cdf95f7 (patch) | |
tree | 877febc74044797ced24191a382c45b429f427a2 /bh20seqanalyzer | |
parent | 102a3663123292375440eeb04276d22a5b4645e0 (diff) | |
download | bh20-seq-resource-4215a82af730ff05b8fe98e226b759413cdf95f7.tar.gz bh20-seq-resource-4215a82af730ff05b8fe98e226b759413cdf95f7.tar.lz bh20-seq-resource-4215a82af730ff05b8fe98e226b759413cdf95f7.zip |
limit 1
Diffstat (limited to 'bh20seqanalyzer')
-rw-r--r-- | bh20seqanalyzer/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bh20seqanalyzer/main.py b/bh20seqanalyzer/main.py index 2db97f6..2513ea3 100644 --- a/bh20seqanalyzer/main.py +++ b/bh20seqanalyzer/main.py @@ -81,7 +81,7 @@ def start_analysis(api, def copy_most_recent_result(api, analysis_project, latest_result_uuid): most_recent_analysis = api.groups().list(filters=[['owner_uuid', '=', analysis_project]], - order="created_at desc").execute() + order="created_at desc", limit=1).execute() for m in most_recent_analysis["items"]: cr = api.container_requests().list(filters=[['owner_uuid', '=', m["uuid"]], ["requesting_container_uuid", "=", None]]).execute() |