Skip to content

Commit

Permalink
Ignore mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
fepegar authored Nov 24, 2023
1 parent 3123562 commit f2d3e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torchio/data/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2d3e1b

Please sign in to comment.