Commit 557122c
committed
Look-up mated connectors before mate processing (#358)
Symptom reported in #355: Unable to connect an arrow (mate) to
pins higher than 1 without failing: ValueError: X is not in list
Bug: The code processing mates used a mix of repeated connector
look-ups and local connector variables, and one variable was used
before it was assigned the correct value.
Fix: The local connector variables are now both assigned initially
before processing each mate, and used when processing instead of
repeated connector look-ups.1 parent a89d04d commit 557122c
1 file changed
Lines changed: 5 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| 598 | + | |
598 | 599 | | |
599 | 600 | | |
600 | 601 | | |
| |||
613 | 614 | | |
614 | 615 | | |
615 | 616 | | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
| 617 | + | |
| 618 | + | |
620 | 619 | | |
621 | 620 | | |
622 | 621 | | |
623 | 622 | | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
| 623 | + | |
628 | 624 | | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
| 625 | + | |
635 | 626 | | |
636 | 627 | | |
637 | 628 | | |
638 | | - | |
639 | 629 | | |
640 | 630 | | |
641 | 631 | | |
| |||
0 commit comments