ansys / ansys/pyedb-core

Spurious warning with single spatial filter in 0.3.x

Open Beginner friendly
#787 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

https://github.com/ansys/pyedb-core/blob/dab8644d164055a8ed7356c0fd111edd4f4e5010/src/ansys/edb/core/layout_instance/layout_instance.py#L161-L168

This block, still on `v0.3.3`, issues a warning even when only one spatial filter is present resulting in spurious warnings. `main` appears to remove the workaround as at some point the gRPC server fix is in place but if that cannot be backported to 0.3.x we should clean up this warning.

Contributor guide

Open the contributing guide

Research direction

Start in src/ansys/edb/core/layout_instance/layout_instance.py at lines 161-168 and inspect how the single spatial filter is handled in v0.3.3. Compare the corresponding code on main, then verify that one spatial filter no longer produces a warning while the intended workaround remains covered for multiple filters.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.