-
Notifications
You must be signed in to change notification settings - Fork 102
đ Update 05-patch-prediction notebook for the New API
#977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weâll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
shaneahmed
merged 21 commits into
dev-define-engines-abc
from
dev-update-example-notebooks
Jan 9, 2026
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
5db61eb
đ Make changes to 05-patch-prediction notebook
gozdeg e7273b9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ede9dfe
đ Bug fix for model/module assumption - implement helper logic to accâŚ
gozdeg 407b6f3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6da5741
đ Update notebook-5 & fix engine_abc _get_model_attr() type checking
gozdeg 7d47b2b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] cffae15
:bug: Fix pre-commit errors
shaneahmed a8d28c1
:white_check_mark: Fix rendering issues
shaneahmed 709813b
:rewind: Revert changes to multi_task_segmentor.py and nucleus_instanâŚ
shaneahmed cfe0d5e
:art: Improve Jupyter Notebook output
shaneahmed e1afce2
đ Update-notebook-5
gozdeg 267133e
đ Small fix
gozdeg c960baf
Merge branch 'dev-define-engines-abc' into dev-update-example-notebooks
shaneahmed 4a7a35f
Merge branch 'dev-define-engines-abc' into dev-update-example-notebooks
shaneahmed 372ee3e
[skip ci] :doc: Update documentation and fix links.
shaneahmed f50ee08
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8bb866a
:white_check_mark: Add test for coverage
shaneahmed 2bfcf92
:memo: Update 05-patch-prediction.ipynb
shaneahmed 5f0bab0
[skip ci] :memo: Update 05-patch-prediction.ipynb
shaneahmed e600960
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8182442
[skip ci] :doc: Fix typo and update metada.
shaneahmed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -50,7 +50,8 @@ def main(files: list[Path]) -> None: | |||
|
|
||||
| """ | ||||
| for path in files: | ||||
| notebook = json.loads(path.read_text()) | ||||
| with Path.open(path, encoding="utf-8", errors="ignore") as f: | ||||
| notebook = json.load(f) | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| formatted_notebook = format_notebook(copy.deepcopy(notebook)) | ||||
| changed = any( | ||||
| cell != formatted_cell | ||||
|
|
||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.