Fix flake8 format in PatchEmbeddingBlock#8742
Conversation
Signed-off-by: Yun Liu <yunl@nvidia.com>
📝 WalkthroughWalkthroughThree small edits: (1) In monai/networks/blocks/patchembedding.py a dictionary key formatting changed from "p{i+1}" to "p{i + 1}" (whitespace only). (2) In monai/data/box_utils.py non_max_suppression now sorts boxes by score using a stable sort ( Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 1 | ❌ 3❌ Failed checks (3 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/build |
|
/build |
|
|
/build |
1 similar comment
|
/build |
|
Hi @ericspod blossom works now! You can enable it when you have time. |
Thanks for the effort! That should be done now in the branch rules. |
### Description Fix flake8 format in `PatchEmbeddingBlock` ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: Yun Liu <yunl@nvidia.com>
### Description Fix flake8 format in `PatchEmbeddingBlock` ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: Yun Liu <yunl@nvidia.com>
Description
Fix flake8 format in
PatchEmbeddingBlockTypes of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.