diff options
author | Sunil Shetye | 2019-06-14 10:38:23 +0530 |
---|---|---|
committer | GitHub | 2019-06-14 10:38:23 +0530 |
commit | fd265d087ff6dc7a09df400b165043e61bb7d0c0 (patch) | |
tree | 2d08a48bcc268154c5e0f25f4c3e94d0ac9e4f7f /src/kicadtoNgspice/KicadtoNgspice.py | |
parent | cfc34bb19977e738582620802415ccde27a03039 (diff) | |
parent | 1d4ee6b6c1254657c497673838922e746f339eca (diff) | |
download | eSim-fd265d087ff6dc7a09df400b165043e61bb7d0c0.tar.gz eSim-fd265d087ff6dc7a09df400b165043e61bb7d0c0.tar.bz2 eSim-fd265d087ff6dc7a09df400b165043e61bb7d0c0.zip |
Merge pull request #77 from nilshah98/clean
Bugs resolved and minor fixes
Diffstat (limited to 'src/kicadtoNgspice/KicadtoNgspice.py')
-rw-r--r-- | src/kicadtoNgspice/KicadtoNgspice.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kicadtoNgspice/KicadtoNgspice.py b/src/kicadtoNgspice/KicadtoNgspice.py index 9624fc82..ef9201cb 100644 --- a/src/kicadtoNgspice/KicadtoNgspice.py +++ b/src/kicadtoNgspice/KicadtoNgspice.py @@ -41,6 +41,7 @@ class MainWindow(QtGui.QWidget): - clarg1 is the path to the .cir file - clarg2 is either None or "sub" depending on the analysis type """ + def __init__(self, clarg1, clarg2=None): QtGui.QWidget.__init__(self) print("==================================") @@ -107,7 +108,7 @@ class MainWindow(QtGui.QWidget): unknownModelList, multipleModelList, plotText - ) = obj_proc.convertICintoBasicBlocks( + ) = obj_proc.convertICintoBasicBlocks( schematicInfo, outputOption, modelList, plotText ) print("=======================================") @@ -483,8 +484,7 @@ class MainWindow(QtGui.QWidget): for key, value in line[7].items(): if( hasattr(value, '__iter__') and - i <= end and type(value) is not - str + i <= end and not isinstance(value, str) ): for item in value: fields = { |