We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530c39c commit b7a8089Copy full SHA for b7a8089
tools/update_openneuro.py
@@ -16,7 +16,6 @@
16
from utils import OPENNEURO
17
18
from cohort_creator._utils import openneuro_df
19
-from cohort_creator._utils import openneuro_listing_tsv
20
21
DEBUG = False
22
@@ -36,7 +35,10 @@ def main() -> None:
36
35
37
datasets_df = pd.DataFrame.from_dict(datasets)
38
datasets_df = datasets_df.sort_values("name")
39
- datasets_df.to_csv(openneuro_listing_tsv(), index=False, sep="\t")
+
+ root_dir = Path(__file__).parent.parent
40
+ output_file = root_dir / "cohort_creator" / "data" / "openneuro.tsv"
41
+ datasets_df.to_csv(output_file, index=False, sep="\t")
42
43
44
if __name__ == "__main__":
0 commit comments