Skip to content

Commit

Permalink
wrong fcn
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed May 15, 2024
1 parent 50935b3 commit eeb96e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SlideServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit eeb96e7

Please sign in to comment.