Fix missing roiUtils import in ROIManager#2081
Conversation
Commit 7ee891f ("Remove circular dependencies") moved createRegionKey and parseRegionKey from ROIManager.js into roiUtils.js but did not add the corresponding import to ROIManager.js, causing a ReferenceError when rendering ROI sets (e.g. loading dev/roi/roi.html). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Note on the failing CI checkThe Cause: the This was confirmed by reproducing the failure locally — the identical Suggest merging this fix despite the red check, and addressing the brittle |
|
This PR fixes the bug mentioned here: |
Problem
Loading
dev/roi/roi.htmlthrows:Cause
Commit 7ee891f ("Remove circular dependencies") moved
createRegionKeyandparseRegionKeyout ofROIManager.jsintojs/roi/roiUtils.js.ROITable.jsgot the new import, butROIManager.js— which still calls both functions (parseRegionKeyat line 191,createRegionKeyat line 202) — did not.Fix
Add the missing import:
🤖 Generated with Claude Code