File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3131 "outputs" : [],
3232 "source" : [
3333 " !pip install -q ipywidgets==7.6\n " ,
34- " !pip install -q \" monai-weekly[nibabel]\"\n " ,
34+ " !python -c \" import monai \" || pip install -q \" monai-weekly[nibabel]\"\n " ,
3535 " import monai\n " ,
3636 " from monai.apps.utils import download_url\n " ,
3737 " \n " ,
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ for file in "${files[@]}"; do
312312 replace_text
313313 done
314314
315- # echo "$notebook" > "${base_path}/debug_notebook.ipynb"
315+ python -c ' import monai; monai.config.print_config() '
316316 time out=$( echo " $notebook " | papermill --progress-bar -k " $kernelspec " )
317317 success=$?
318318 if [[ ${success} -ne 0 || " $out " =~ " \" status\" : \" failed\" " ]]; then
You can’t perform that action at this time.
0 commit comments