From 70564f94f8af504291f8753a6d7617145f47d9ec Mon Sep 17 00:00:00 2001 From: zhack47 Date: Thu, 3 Aug 2023 10:45:14 +0200 Subject: [PATCH] Fix silenced exception in Queue when using faulty transform --- src/torchio/data/queue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/torchio/data/queue.py b/src/torchio/data/queue.py index fb30937f..04377a28 100644 --- a/src/torchio/data/queue.py +++ b/src/torchio/data/queue.py @@ -328,6 +328,7 @@ def _get_next_subject(self) -> Subject: ' patches from the queue should be 0. Is it?' ) raise RuntimeError(message) from exception + raise exception return subject @staticmethod