From f2d3e1b565e51c8d60bcf8767e8262d6fe8c40e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20P=C3=A9rez-Garc=C3=ADa?= Date: Fri, 24 Nov 2023 00:42:12 +0000 Subject: [PATCH] Ignore mypy error --- src/torchio/data/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torchio/data/queue.py b/src/torchio/data/queue.py index a9869ee1..7f6b5872 100644 --- a/src/torchio/data/queue.py +++ b/src/torchio/data/queue.py @@ -263,7 +263,7 @@ def num_subjects(self) -> int: 'The subject sampler passed to the queue must have a' ' __len__ method', ) - num_subjects = len(self.subject_sampler) + num_subjects = len(self.subject_sampler) # type: ignore[arg-type] else: num_subjects = len(self.subjects_dataset) return num_subjects