ERC could show line defining part
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
The issue points to the logic that adds a part to a circuit and suggests inspect.findsource as a possible way to locate its definition. Start by tracing part creation and how ERC warnings are produced, then check whether source-location information can be attached without making circuit construction too slow. Done means an unconnected-pin warning identifies where the part was defined; the issue names no files or tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I have an ERC warning output, part of which shows:
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R2.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R5.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R8.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R11.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R14.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R17.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R20.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R23.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R26.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R29.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R32.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R35.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R38.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R41.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R44.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R47.
Clearly I forgot to connect one end of a resistor. Unfortunately I have no idea which, as I haven't tagged or named my resistors. It would be neat if the ERC warning told me where the part was defined. I think something like this could be done by hooking into the logic which adds the part to a circuit, probably using something like inspect.findsource (which is slow.... but so is SKIDL :D).
If this bothers me enough and I get the time I'll have a go at implementing it, but I'd be interested to know what others do about it.
- Lingua principale
- Python
- Stelle
- 1.7k
- Fork
- 184
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di devbisme/skidl
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
SPICE netlist wires the wrong node to a subcircuit port when an earlier pin is unconnectedForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
[SKiDL BUG] Using components that do not contain a defined datasheet property throws 'Key Error'Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di devbisme/skidl
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pimutils/vdirsyncer#1242 ·
-
priority:P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
QuantConnect/lean-cli#792 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
open-webui/open-webui#35360 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Suggest link: Destiny Verify (MIT zero-dependency pre-commit security, citation & link hygiene CLI)Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno