Skip to content

Commit 05a2ebc

Browse files
authored
clear data analyzer output for the bash cmd (#1469)
### Description `python -m monai.apps.auto3dseg DataAnalyzer get_all_case_stats` will output all the data stats to stdout. this PR redirect these to `/dev/null` ### Checks <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [ ] Avoid including large-size files in the PR. - [ ] Clean up long text outputs from code cells in the notebook. - [ ] For security purposes, please check the contents and remove any sensitive info such as user names and private key. - [ ] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the `./figure` folder - [ ] Notebook runs automatically `./runner.sh -t <path to .ipynb file>` Signed-off-by: Wenqi Li <[email protected]>
1 parent ddf61ab commit 05a2ebc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

auto3dseg/notebooks/data_analyzer.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
]
2222
},
2323
{
24-
"attachments": {},
2524
"cell_type": "markdown",
2625
"metadata": {},
2726
"source": [
@@ -214,7 +213,6 @@
214213
]
215214
},
216215
{
217-
"attachments": {},
218216
"cell_type": "markdown",
219217
"metadata": {},
220218
"source": [
@@ -225,7 +223,7 @@
225223
"```bash\n",
226224
"python -m monai.apps.auto3dseg DataAnalyzer get_all_case_stats \\\n",
227225
" --datalist=\"<datalist file path>\" \\\n",
228-
" --dataroot=\"<dataroot path>\"\n",
226+
" --dataroot=\"<dataroot path>\" > /dev/null\n",
229227
"```\n"
230228
]
231229
}
@@ -246,7 +244,7 @@
246244
"name": "python",
247245
"nbconvert_exporter": "python",
248246
"pygments_lexer": "ipython3",
249-
"version": "3.8.13"
247+
"version": "3.9.16"
250248
},
251249
"vscode": {
252250
"interpreter": {

0 commit comments

Comments
 (0)