Skip to content

Commit eb3746c

Browse files
author
Yuchen Xu
committed
Revert "no install if exists (#781)"
This reverts commit 7b07a8b.
1 parent 7b07a8b commit eb3746c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/resample_benchmark.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"outputs": [],
3232
"source": [
3333
"!pip install -q ipywidgets==7.6\n",
34-
"!python -c \"import monai\" || pip install -q \"monai-weekly[nibabel]\"\n",
34+
"!pip install -q \"monai-weekly[nibabel]\"\n",
3535
"import monai\n",
3636
"from monai.apps.utils import download_url\n",
3737
"\n",

runner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ for file in "${files[@]}"; do
312312
replace_text
313313
done
314314

315-
python -c 'import monai; monai.config.print_config()'
315+
# echo "$notebook" > "${base_path}/debug_notebook.ipynb"
316316
time out=$(echo "$notebook" | papermill --progress-bar -k "$kernelspec")
317317
success=$?
318318
if [[ ${success} -ne 0 || "$out" =~ "\"status\": \"failed\"" ]]; then

0 commit comments

Comments
 (0)