Skip to content

Commit

Permalink
FIX path related to data dir change; this is some really bad design c…
Browse files Browse the repository at this point in the history
…hoices from me bleh
  • Loading branch information
htwangtw committed May 18, 2023
1 parent 7cd9bb2 commit f766bf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fmriprep_denoise/dataset/atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}

TEMPLATEFLOW_DIR = (
Path(__file__).parents[2] / "inputs" / "fmriprep-denoise-benchmark" / "custome_templateflow"
Path(__file__).parents[2] / "data" / "fmriprep-denoise-benchmark" / "custome_templateflow"
)

# Include retrieval of these data in README
Expand Down
2 changes: 1 addition & 1 deletion scripts/calculate_centroids.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def calculate_difumo_centroids():


def main():
tf_dir = Path(__file__).parents[1] / "inputs" / \
tf_dir = Path(__file__).parents[1] / "data" / \
"fmriprep-denoise-benchmark" / "custome_templateflow"
os.environ["TEMPLATEFLOW_HOME"] = str(tf_dir.resolve())
calculate_difumo_centroids()
Expand Down
2 changes: 1 addition & 1 deletion scripts/make_manuscript_figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


if __name__ == "__main__":
path_root = Path(__file__).parents[1] / "inputs" / \
path_root = Path(__file__).parents[1] / "data" / \
"fmriprep-denoise-benchmark" / "denoise-metrics"
strategy_order = list(utils.GRID_LOCATION.values())

Expand Down

0 comments on commit f766bf1

Please sign in to comment.