diff options
author | athulappadan | 2016-11-28 20:00:03 +0530 |
---|---|---|
committer | athulappadan | 2016-11-28 20:00:03 +0530 |
commit | 3320f78c25334d37fac20f68a805fa8a8624fa0c (patch) | |
tree | 1655a1864954e2dfe8a8cf7067cd10e7407b24c3 /src | |
parent | f3a67dd0076e9099c3de3adbb499a5fa5e32c0e9 (diff) | |
download | eSim-3320f78c25334d37fac20f68a805fa8a8624fa0c.tar.gz eSim-3320f78c25334d37fac20f68a805fa8a8624fa0c.tar.bz2 eSim-3320f78c25334d37fac20f68a805fa8a8624fa0c.zip |
Analysis bug fixed
Diffstat (limited to 'src')
-rw-r--r-- | src/kicadtoNgspice/Convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kicadtoNgspice/Convert.py b/src/kicadtoNgspice/Convert.py index 26e5b869..4405eff7 100644 --- a/src/kicadtoNgspice/Convert.py +++ b/src/kicadtoNgspice/Convert.py @@ -144,7 +144,7 @@ class Convert: if self.op_check[-1] == 1: self.no=0 self.writefile.write(".op") - elif self.op_check[-1] == '0': + elif self.op_check[-1] == 0 or self.op_check[-1] == '0': self.no=0 self.writefile.write(".dc" +' '+ str(self.dc_entry_var[self.no].text())+ ' '+ str(self.defaultvalue(self.dc_entry_var[self.no+1].text())) + self.converttosciform(self.dc_parameter[self.no]) + ' '+ str(self.defaultvalue(self.dc_entry_var[self.no+3].text()))+ self.converttosciform(self.dc_parameter[self.no+2]) + ' '+ str(self.defaultvalue(self.dc_entry_var[self.no+2].text())) + self.converttosciform(self.dc_parameter[self.no+1])) |