Skip to content

FIX: issue #2213 fixed#2217

Merged
svandenb-dev merged 19 commits into
mainfrom
issue-#2213-fix
Jun 3, 2026
Merged

FIX: issue #2213 fixed#2217
svandenb-dev merged 19 commits into
mainfrom
issue-#2213-fix

Conversation

@svandenb-dev
Copy link
Copy Markdown
Collaborator

@svandenb-dev svandenb-dev commented May 28, 2026

This PR is fixing Pin mapping for Spice pin mapping. Grpc had pin name and number swapped.

Issue is fixed

image

closes #2213

@svandenb-dev svandenb-dev self-assigned this May 28, 2026
@github-actions github-actions Bot added the testing Anything related to testing label May 28, 2026
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 28, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 28, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.68%. Comparing base (5cbae21) to head (c1eeb85).
⚠️ Report is 192 commits behind head on main.

❌ Your patch status has failed because the patch coverage (83.33%) is below the target coverage (85.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2217      +/-   ##
==========================================
+ Coverage   70.20%   75.68%   +5.48%     
==========================================
  Files         261      266       +5     
  Lines       42416    45482    +3066     
==========================================
+ Hits        29779    34425    +4646     
+ Misses      12637    11057    -1580     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hui-zhou-a
Copy link
Copy Markdown
Collaborator

I am concerned about this
"Also adding relative path for Spice model when absolute path is not provided (e.g like with cfg file). Code will search models located in project path."

There is no concept of "project" in pyedb. The "project path" will be changed after save_as(), and this change is hidden from the user.

SMoraisAnsys
SMoraisAnsys previously approved these changes Jun 1, 2026
Copy link
Copy Markdown
Collaborator

@SMoraisAnsys SMoraisAnsys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I left a few comments.

Is there a reason to remove that many tests ?

Comment thread src/pyedb/grpc/database/hierarchy/component.py
Comment thread tests/unit/test_components.py
@svandenb-dev
Copy link
Copy Markdown
Collaborator Author

I am concerned about this "Also adding relative path for Spice model when absolute path is not provided (e.g like with cfg file). Code will search models located in project path."

There is no concept of "project" in pyedb. The "project path" will be changed after save_as(), and this change is hidden from the user.

I understand I will force user to providing absolute path for files.

@svandenb-dev
Copy link
Copy Markdown
Collaborator Author

LGTM, I left a few comments.

Is there a reason to remove that many tests ?

No I revered tests

LGTM, I left a few comments.

Is there a reason to remove that many tests ?

No was by mistake test are back

@svandenb-dev svandenb-dev enabled auto-merge (squash) June 1, 2026 14:27
@SMoraisAnsys
Copy link
Copy Markdown
Collaborator

I am concerned about this "Also adding relative path for Spice model when absolute path is not provided (e.g like with cfg file). Code will search models located in project path."
There is no concept of "project" in pyedb. The "project path" will be changed after save_as(), and this change is hidden from the user.

I understand I will force user to providing absolute path for files.

Did you do that in this PR or do you plan to perform that in another one ?

@svandenb-dev svandenb-dev merged commit f8ea330 into main Jun 3, 2026
47 of 49 checks passed
@svandenb-dev svandenb-dev deleted the issue-#2213-fix branch June 3, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Anything related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug located in ...edb.configuration.load(config_file=file_json)

6 participants