Skip to content

Commit 85a8545

Browse files
bendhousearteffigies
authored andcommitted
rufff!
1 parent a6d1088 commit 85a8545

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/collect_test_data.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# requires-python = ">=3.11"
33
# dependencies = [
44
# "datalad",
5+
# "pandas",
6+
# "pybids",
57
# ]
68
# ///
79

@@ -12,7 +14,6 @@
1214
import sys
1315
from pathlib import Path
1416
from tempfile import TemporaryDirectory
15-
from typing import Union
1617

1718
import bids
1819
import pandas as pd
@@ -151,8 +152,8 @@ def create_readme_content(pet_datasets, readme_template):
151152

152153

153154
def download_test_data(
154-
working_directory: Union(TemporaryDirectory, None)=None,
155-
output_directory: Union(Path, str)='',
155+
working_directory: TemporaryDirectory | None = None,
156+
output_directory: Path | str = '',
156157
pet_datasets_json=None, # Default to None, not the dict
157158
):
158159
# Use default datasets if no JSON file provided

0 commit comments

Comments
 (0)