Skip to content

Commit

Permalink
fixed the load_bonner_navigation_bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjeevNara-01 committed Jul 8, 2024
1 parent ff7b782 commit 27238ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions projects/fMRI/load_bonner_navigational_affordances.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@
" blocks = get_blocks(mask,sl_rad=sl_rad,max_blk_edge=max_blk_edge)\n",
"\n",
" # Coalesce results\n",
" outmat = np.empty(mask.shape, dtype=np.object).astype(np.float)\n",
" outmat = np.empty(mask.shape, dtype=object).astype(float)\n",
"\n",
" for i in range(sl_result.shape[0]):\n",
" pt = blocks[i][0]\n",
Expand Down Expand Up @@ -1146,7 +1146,7 @@
"name": "python3"
},
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -1160,9 +1160,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.9.16"
}
},
"nbformat": 4,
"nbformat_minor": 0
"nbformat_minor": 1
}

0 comments on commit 27238ee

Please sign in to comment.