Spurious warning with single spatial filter in 0.3.x

Open Beginner friendly
#787 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

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.

Dominant language
Python
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ansys/pyedb-core

All issues in ansys/pyedb-core

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.