Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/batch_helper' into batch_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Aug 8, 2024
2 parents 6aad7aa + c3499a9 commit 08f7e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neuroconv/tools/aws/_submit_aws_batch_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def _ensure_job_queue_exists(
job_queue_response = job_queue_request["jobQueues"]
job_queue_status = job_queue_response[0]["status"] if len(job_queue_response) == 1 else ""

if len(job_definition_response) != 1 and job_queue_status != "VALID":
if len(job_queue_response) != 1 and job_queue_status != "VALID":
raise ValueError(f"Job queue '{job_queue_status}' failed to launch after {max_retries} retries.")

return None
Expand Down

0 comments on commit 08f7e1e

Please sign in to comment.