Skip to content

Commit

Permalink
Fixes error in handling export outputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
arokem committed Sep 27, 2023
1 parent 1037bc1 commit 9ad67a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AFQ/api/bundle_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ def load_templates(self):

self.templates["Callosum_midsag"] = self.templates["mid-saggital"]

for bundle_name in PEDIATRIC_BUNDLES:
for bundle_name in prob_map_order:
self.templates[bundle_name + "_prob_map"] = nib.Nifti1Image(
prob_map_data[
...,
Expand Down
4 changes: 2 additions & 2 deletions examples/tutorial_examples/plot_baby_afq.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
##########################################################################
# Visualizing bundles:
# --------------------

plotly.io.show(myafq.export("all_bundles_figure").values()[0][0])
viz = myafq.export("all_bundles_figure")
plotly.io.show(viz["01"])

##########################################################################
# References:
Expand Down

0 comments on commit 9ad67a2

Please sign in to comment.