Skip to content

Commit

Permalink
Fix KeyError in ./pathology/tumor_detection/ignite/profiling_camelyon…
Browse files Browse the repository at this point in the history
…_pipeline.ipynb (#1811)

Fixes #1810

Fix KeyError in
./pathology/tumor_detection/ignite/profiling_camelyon_pipeline.ipynb

### 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: YunLiu <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
KumoLiu and pre-commit-ci[bot] authored Sep 3, 2024
1 parent 126c99c commit 0e25ead
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@
"\n",
"# Set the Range (which is the name of each range) as the index\n",
"summary.set_index(\"Range\", inplace=True)\n",
"summary.index = summary.index.str.lstrip(\":\")\n",
"\n",
"# Get the entries for training transforms only (to avoid nested ranges)\n",
"summary = summary.loc[transforms]\n",
Expand Down

0 comments on commit 0e25ead

Please sign in to comment.