Skip to content

Commit

Permalink
Merge pull request #1118 from SanjeevNara-01/b_sanjeevnara
Browse files Browse the repository at this point in the history
fixed the load_bonner_navigation_bug
  • Loading branch information
iamzoltan authored Jul 8, 2024
2 parents 24031ad + 27238ee commit de3ce4b
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 de3ce4b

Please sign in to comment.