Skip to content

handle missing ScanPath kwargs with fallback values and improve error handling in get_scan_info() - #110

Open
ArthurLuciani2 wants to merge 1 commit into
devfrom
hotfix/get-scan-info-path-param-error
Open

handle missing ScanPath kwargs with fallback values and improve error handling in get_scan_info()#110
ArthurLuciani2 wants to merge 1 commit into
devfrom
hotfix/get-scan-info-path-param-error

Conversation

@ArthurLuciani2

@ArthurLuciani2 ArthurLuciani2 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

The function get_scan_info() assumes that a scan necessarily has a 'Circle' path which is not always True. This present fix just catches KeyError exceptions when the path is not a circle but it is not in my opinion a good long term solution.

Truth is, I think this workspace "patch" should not be in plantdb but in P3DX (for which it is meant). This makes plantdb much less flexible in what a scan can be and can contain.

@ArthurLuciani2 ArthurLuciani2 self-assigned this Aug 6, 2026
@ArthurLuciani2 ArthurLuciani2 added the bug Something isn't working label Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant