From eeb96e7f2722ec99caa3bf6e02e2fd780ea47b60 Mon Sep 17 00:00:00 2001 From: Birm Date: Wed, 15 May 2024 18:00:55 -0400 Subject: [PATCH] wrong fcn --- SlideServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SlideServer.py b/SlideServer.py index 59c4929..d006cf2 100644 --- a/SlideServer.py +++ b/SlideServer.py @@ -808,7 +808,7 @@ def OLDdownloadRawDicom(source_url, study_uid, series_uid, instance_uid, output_ print(f"Failed to retrieve DICOM instance. Status code: {response.status_code}") def downloadRawDicom(source_url, study_uid, series_uid, instance_uid, output_fn): - asyncio.run(downloadRawDicom(source_url, study_uid, series_uid, instance_uid, output_fn)) + asyncio.run(doDownloadRawDicom(source_url, study_uid, series_uid, instance_uid, output_fn)) async def doDownloadRawDicom(source_url, study_uid, series_uid, instance_uid, output_fn): instance_url = source_url + f"/studies/{study_uid}/series/{series_uid}/instances/{instance_uid}"