Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/torchio/datasets/ixi.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,7 @@ def _get_subjects_list(root):
def _download(self, root):
"""Download the tiny IXI data if it doesn't exist already."""
if root.is_dir(): # assume it's been downloaded
print('Root directory for IXITiny found:', root) # noqa: T201
return
print('Root directory for IXITiny not found:', root) # noqa: T201
print('Downloading...') # noqa: T201
with NamedTemporaryFile(suffix='.zip', delete=False) as f:
download_and_extract_archive(
self.url,
Expand Down
Loading