From 421da779a67f06cc09b51c351164f6ef5f768a8c Mon Sep 17 00:00:00 2001 From: jakob Date: Mon, 27 Jan 2025 16:40:55 +0100 Subject: [PATCH] fix linting errors --- totalsegmentator/bin/totalseg_evans_index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/totalsegmentator/bin/totalseg_evans_index.py b/totalsegmentator/bin/totalseg_evans_index.py index 6974e78f6..20f43bf19 100644 --- a/totalsegmentator/bin/totalseg_evans_index.py +++ b/totalsegmentator/bin/totalseg_evans_index.py @@ -66,9 +66,9 @@ async def run_models_parallel(ct_path, tmp_dir, logger, host="local"): st = time.time() if host == "local": - img1, img2 = await asyncio.gather( # this needs to be inside of asnyc func with await + img1, img2 = await asyncio.gather( # this needs to be inside of async func with await run_totalsegmentator_async(ct_img, "totalseg_body.nii.gz", f"-ml -ns 1 -rs {rois_str}"), - run_totalsegmentator_async(ct_img, "totalseg_ventricle_parts.nii.gz", f"-ml -ns 1 -ta ventricle_parts"), + run_totalsegmentator_async(ct_img, "totalseg_ventricle_parts.nii.gz", "-ml -ns 1 -ta ventricle_parts"), ) elif host == "modal": import modal