Skip to content

Commit

Permalink
modify endpoint rois further
Browse files Browse the repository at this point in the history
  • Loading branch information
36000 committed Aug 24, 2023
1 parent edc77e6 commit 1fc0c06
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
12 changes: 8 additions & 4 deletions AFQ/api/bundle_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,8 @@ def _gen(self, bundle_name):
self._dict["pARC_L"] = {
"include": [self.templates["SLFt_roi2_L"]],
"exclude": [self.templates["SLF_roi1_L"]],
"start": self.templates["LH_Parietal"],
"start": self.templates["pARC_L_start"],
"end": self.templates["VOF_box_small_L"],
"primary_axis": 2,
"primary_axis_percentage": 40,
"cross_midline": False
Expand All @@ -771,21 +772,24 @@ def _gen(self, bundle_name):
self._dict["pARC_R"] = {
"include": [self.templates["SLFt_roi2_R"]],
"exclude": [self.templates["SLF_roi1_R"]],
"start": self.templates["RH_Parietal"],
"start": self.templates["pARC_R_start"],
"end": self.templates["VOF_box_small_R"],
"primary_axis": 2,
"primary_axis_percentage": 40,
"cross_midline": False
}
elif bundle_name == "VOF_L":
self._dict["VOF_L"] = {
"end": self.templates["VOF_box_L"],
"start": self.templates["VOF_L_start"],
"end": self.templates["VOF_box_small_L"],
"primary_axis": 2,
"primary_axis_percentage": 40,
"cross_midline": False
}
elif bundle_name == "VOF_R":
self._dict["VOF_R"] = {
"end": self.templates["VOF_box_R"],
"start": self.templates["VOF_R_start"],
"end": self.templates["VOF_box_small_R"],
"primary_axis": 2,
"primary_axis_percentage": 40,
"cross_midline": False
Expand Down
21 changes: 18 additions & 3 deletions AFQ/data/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,12 @@ def read_or_templates(as_img=True, resample_to=False):
"OR_leftV1.nii.gz",
"OR_leftThal.nii.gz",
"OR_left_roi3.nii.gz",
"VOF_box_small_L.nii.gz"
"VOF_box_small_L.nii.gz",
"VOF_box_small_R.nii.gz",
"pARC_L_start.nii.gz",
"VOF_L_start.nii.gz",
"pARC_R_start.nii.gz",
"VOF_R_start.nii.gz",
]

more_pediatric_remote_fnames = [
Expand All @@ -811,7 +816,12 @@ def read_or_templates(as_img=True, resample_to=False):
"42120489",
"42120492",
"42120495",
"42121626"
"42121695",
"42121698"
"42121650",
"42121656",
"42121653",
"42121659"
]

more_pediatric_md5_hashes = [
Expand All @@ -821,7 +831,12 @@ def read_or_templates(as_img=True, resample_to=False):
"bc6d4f880d3eb281358af1c764779704",
"a3b6a7be067aa12af273482baee1498d",
"f035813314960eb91f3a4dae508a68e5",
"8ffbd65ae986c8196b7776fe98e66722"
"5481d26816ecb612c2514a03cc3a5ef4",
"e4e34212b813dd2c5c156727a45c59a7"
"a04d645bbc3ff4be412c9efbcc3d1ff2",
"4714e00a31cbee58cfd86bd935c36f43",
"6205fe06ab28586179245d294d9c5c7a",
"5d573e948706e5de5f1b27cddcfc0e08"
]

fetch_more_pediatric_templates = _make_reusable_fetcher(
Expand Down

0 comments on commit 1fc0c06

Please sign in to comment.