Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix] Make sure loop connected pins are not hidden #264

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

kvid
Copy link
Collaborator

@kvid kvid commented Dec 28, 2021

  • Resolves [bug] "hide_disconnected_pins" ignores "loops"  #263 that describes warnings and weird loop drawing because loop connected pins are hidden when hide_disconnected_pins=True.
  • Activate loop pins as early as possible to enable correct counting of connected pins when connector.additional_components.qty_multiplier=populated.
  • Check that loop pins actually exist before activating them.

I suggest a squash merge with the bullets above in the commit message body, and this commit message title:

Make sure loop connected pins are not hidden (#264)

@kvid kvid marked this pull request as draft January 24, 2022 00:26
@kvid kvid marked this pull request as ready for review January 24, 2022 21:17
@kvid kvid requested a review from formatc1702 January 28, 2022 11:15
@kvid kvid added the bug Something isn't working label Jan 29, 2022
kvid added a commit to kvid/WireViz that referenced this pull request Sep 1, 2023
- Resolves wireviz#263 that describes warnings and weird loop drawing because
  loop connected pins are hidden when hide_disconnected_pins=True.

- Activate loop pins as early as possible to enable correct counting of
  connected pins when
  connector.additional_components.qty_multiplier=populated.

- Check that loop pins actually exist before activating them.
- Resolves wireviz#263 that describes warnings and weird loop drawing because
  loop connected pins are hidden when hide_disconnected_pins=True.

- Activate loop pins as early as possible to enable correct counting of
  connected pins when
  connector.additional_components.qty_multiplier=populated.

- Check that loop pins actually exist before activating them.
src/wireviz/DataClasses.py Outdated Show resolved Hide resolved
No need to reference github issue in the code.

Co-authored-by: Daniel Rojas <[email protected]>
@kvid kvid merged commit a26f734 into wireviz:dev Sep 8, 2023
2 checks passed
kvid added a commit that referenced this pull request Sep 8, 2023
- Resolves #263 that describes warnings and weird loop drawing because
  loop connected pins are hidden when hide_disconnected_pins=True.

- Activate loop pins as early as possible to enable correct counting of
  connected pins when
  connector.additional_components.qty_multiplier=populated.

- Check that loop pins actually exist before activating them.
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.

2 participants