From 6c0769269b79c288dd3fcf4c8da6ec7fd60b9cab Mon Sep 17 00:00:00 2001 From: Raymond Lim Date: Fri, 3 Nov 2023 17:17:24 -0400 Subject: [PATCH] fix: use iterrows() --- src/luna/pathology/cli/dsa_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luna/pathology/cli/dsa_upload.py b/src/luna/pathology/cli/dsa_upload.py index 2ad29944..05433916 100644 --- a/src/luna/pathology/cli/dsa_upload.py +++ b/src/luna/pathology/cli/dsa_upload.py @@ -137,7 +137,7 @@ def upload_annotation_to_dsa( DataFrame[SlideSchema]: slide manifest """ uuids = [] - for slide in slide_manifest.itertuples(name="Slide"): + for _, slide in slide_manifest.iterrows(): uuids = _upload_annotation_to_dsa( dsa_endpoint_url, slide[annotation_column],