Skip to content

Commit

Permalink
We'll download data as script.
Browse files Browse the repository at this point in the history
  • Loading branch information
arokem committed Nov 7, 2024
1 parent d6d2107 commit e3d43fe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
1 change: 0 additions & 1 deletion binder/postBuild

This file was deleted.

17 changes: 17 additions & 0 deletions content/download_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

# Set environment to point to local data directory for

import os
import os.path as op
pwd = os.getcwd()
os.environ["DIPY_HOME"] = op.join(pwd, "..", "data", "tractometry")
os.environ["AFQ_HOME"] = op.join(pwd, "..", "data", "tractometry")

# Stanford HARDI
import AFQ.data.fetch as afd
afd.organize_stanford_data()

# Templates:
afd.fetch_templates()
afd.fetch_pediatric_templates()

0 comments on commit e3d43fe

Please sign in to comment.