summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Processing.py
diff options
context:
space:
mode:
authorrahulp132022-09-17 23:29:49 +0530
committerrahulp132022-09-17 23:29:49 +0530
commit73b784851e40ab6b607a70bf151fe2fa4443e218 (patch)
tree9ed3cd0765e85524e820590096bd7431b78db528 /src/kicadtoNgspice/Processing.py
parent99c9974171f3bbbba0012a7a94648bfa00147be3 (diff)
downloadeSim-73b784851e40ab6b607a70bf151fe2fa4443e218.tar.gz
eSim-73b784851e40ab6b607a70bf151fe2fa4443e218.tar.bz2
eSim-73b784851e40ab6b607a70bf151fe2fa4443e218.zip
fix circuit component element out of range crash
Diffstat (limited to 'src/kicadtoNgspice/Processing.py')
-rw-r--r--src/kicadtoNgspice/Processing.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kicadtoNgspice/Processing.py b/src/kicadtoNgspice/Processing.py
index 94a2e51f..a0b20ada 100644
--- a/src/kicadtoNgspice/Processing.py
+++ b/src/kicadtoNgspice/Processing.py
@@ -143,8 +143,8 @@ class PrcocessNetlist:
index = schematicInfo.index(compline)
if words[3] == "pulse":
Title = "Add parameters for pulse source " + compName
- v1 = ' Enter initial value(Volts/Amps): '
- v2 = ' Enter pulsed value(Volts/Amps): '
+ v1 = ' Enter initial value (Volts/Amps): '
+ v2 = ' Enter pulsed value (Volts/Amps): '
td = ' Enter delay time (seconds): '
tr = ' Enter rise time (seconds): '
tf = ' Enter fall time (seconds): '
@@ -180,8 +180,8 @@ class PrcocessNetlist:
elif words[3] == "exp":
Title = "Add parameters for exponential source " + compName
- v1 = ' Enter initial value(Volts/Amps): '
- v2 = ' Enter pulsed value(Volts/Amps): '
+ v1 = ' Enter initial value (Volts/Amps): '
+ v2 = ' Enter pulsed value (Volts/Amps): '
td1 = ' Enter rise delay time (seconds): '
tau1 = ' Enter rise time constant (seconds): '
td2 = ' Enter fall time (seconds): '
@@ -192,7 +192,7 @@ class PrcocessNetlist:
elif words[3] == "dc":
Title = "Add parameters for DC source " + compName
- v1 = ' Enter value(Volts/Amps): '
+ v1 = ' Enter value (Volts/Amps): '
v2 = ' Enter zero frequency: '
sourcelist.append(
[index, compline, words[3], Title, v1, v2])