Skip to content

Commit

Permalink
Use an alt location for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
arokem committed Nov 11, 2024
1 parent e3d43fe commit 1b5a87b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repo2data>=2.6.0
jupyter-book==0.14.0
afqinsight==0.6.1
pyAFQ[all]==1.3.5


pyAFQ==1.3.5
plotly==5.3.0
trx-python==0.3
5 changes: 3 additions & 2 deletions content/01-pyafq.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
"\n",
"pwd = op.dirname(os.getcwd())\n",
"\n",
"os.environ[\"DIPY_HOME\"] = op.join(pwd, \"..\", \"data\", \"tractometry\")\n",
"os.environ[\"AFQ_HOME\"] = op.join(pwd, \"..\", \"data\", \"tractometry\")\n",
"os.environ[\"TEMPLATEFLOW_HOME\"] = op.join(pwd, \"..\", \"data_\", \"tractometry\")\n",
"os.environ[\"DIPY_HOME\"] = op.join(pwd, \"..\", \"data_\", \"tractometry\")\n",
"os.environ[\"AFQ_HOME\"] = op.join(pwd, \"..\", \"data_\", \"tractometry\")\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import nibabel as nib\n",
Expand Down
5 changes: 3 additions & 2 deletions content/download_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
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")
os.environ["TEMPLATEFLOW_HOME"] = op.join(pwd, "..", "data_", "tractometry")
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
Expand Down

0 comments on commit 1b5a87b

Please sign in to comment.