Skip to content

Commit

Permalink
pip install mrpro with notebook option
Browse files Browse the repository at this point in the history
  • Loading branch information
fzimmermann89 committed Jan 12, 2025
1 parent feabab3 commit abd30a3
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .precommit/add_notebook_preemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import importlib
if not importlib.util.find_spec('mrpro'):
%pip install mrpro
%pip install mrpro[notebooks]
"""

# the temp files of jupytext have the header which looks like:
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/cartesian_reconstruction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"import importlib\n",
"\n",
"if not importlib.util.find_spec('mrpro'):\n",
" %pip install mrpro"
" %pip install mrpro[notebooks]"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/direct_reconstruction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"import importlib\n",
"\n",
"if not importlib.util.find_spec('mrpro'):\n",
" %pip install mrpro"
" %pip install mrpro[notebooks]"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/iterative_sense_reconstruction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"import importlib\n",
"\n",
"if not importlib.util.find_spec('mrpro'):\n",
" %pip install mrpro"
" %pip install mrpro[notebooks]"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/pulseq_2d_radial_golden_angle.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"import importlib\n",
"\n",
"if not importlib.util.find_spec('mrpro'):\n",
" %pip install mrpro"
" %pip install mrpro[notebooks]"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/qmri_sg_challenge_2024_t1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"import importlib\n",
"\n",
"if not importlib.util.find_spec('mrpro'):\n",
" %pip install mrpro"
" %pip install mrpro[notebooks]"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/qmri_sg_challenge_2024_t2_star.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"import importlib\n",
"\n",
"if not importlib.util.find_spec('mrpro'):\n",
" %pip install mrpro"
" %pip install mrpro[notebooks]"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"import importlib\n",
"\n",
"if not importlib.util.find_spec('mrpro'):\n",
" %pip install mrpro"
" %pip install mrpro[notebooks]"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/t1_mapping_with_grad_acq.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"import importlib\n",
"\n",
"if not importlib.util.find_spec('mrpro'):\n",
" %pip install mrpro"
" %pip install mrpro[notebooks]"
]
},
{
Expand Down

0 comments on commit abd30a3

Please sign in to comment.