Skip to content

sweep: bugfix in packages/draw_heatmap/accvlab/draw_heatmap/__init__.py - #52

Closed
andrewwhitecdw wants to merge 1 commit into
NVIDIA:mainfrom
andrewwhitecdw:sweep/bugfix-20260725-033151
Closed

sweep: bugfix in packages/draw_heatmap/accvlab/draw_heatmap/__init__.py#52
andrewwhitecdw wants to merge 1 commit into
NVIDIA:mainfrom
andrewwhitecdw:sweep/bugfix-20260725-033151

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

Bugfix sweep for packages/draw_heatmap/accvlab/draw_heatmap/__init__.py

Problem

Imports from .funtions, a misspelled submodule name that will raise ModuleNotFoundError when the package is imported.

Fix

--- a/packages/draw_heatmap/accvlab/draw_heatmap/init.py
+++ b/packages/draw_heatmap/accvlab/draw_heatmap/init.py
@@ -21,7 +21,7 @@
try:
version = version("accvlab.draw_heatmap")
except PackageNotFoundError:
version = "0.0.0"

-from .funtions import draw_heatmap, draw_heatmap_batched
+from .functions import draw_heatmap, draw_heatmap_batched

all = ["version", "draw_heatmap", "draw_heatmap_batched"]

Reasoning

The intended submodule name is almost certainly functions.py; correcting the typo makes the package importable.

Test

Framework: pytest
Test run result: failed


This PR was generated by the awdemos daily bugfix sweep. Please review manually before deciding whether to propose it upstream.

## Bugfix sweep for `packages/draw_heatmap/accvlab/draw_heatmap/__init__.py`

### Problem
Imports from `.funtions`, a misspelled submodule name that will raise ModuleNotFoundError when the package is imported.

### Fix
--- a/packages/draw_heatmap/accvlab/draw_heatmap/__init__.py
+++ b/packages/draw_heatmap/accvlab/draw_heatmap/__init__.py
@@ -21,7 +21,7 @@
 try:
     __version__ = version("accvlab.draw_heatmap")
 except PackageNotFoundError:
     __version__ = "0.0.0"
 
-from .funtions import draw_heatmap, draw_heatmap_batched
+from .functions import draw_heatmap, draw_heatmap_batched
 
 __all__ = ["__version__", "draw_heatmap", "draw_heatmap_batched"]

### Reasoning
The intended submodule name is almost certainly `functions.py`; correcting the typo makes the package importable.

### Test
Framework: `pytest`
Test run result: **failed**

---
This PR was generated by the awdemos daily bugfix sweep. Please review manually before deciding whether to propose it upstream.
@andrewwhitecdw

Copy link
Copy Markdown
Author

Closed: generated by awdemos-sweep test run

@andrewwhitecdw
andrewwhitecdw deleted the sweep/bugfix-20260725-033151 branch July 25, 2026 03:32
@andrewwhitecdw
andrewwhitecdw restored the sweep/bugfix-20260725-033151 branch July 25, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant