diff options
author | Rahul P | 2023-06-13 18:24:33 +0530 |
---|---|---|
committer | GitHub | 2023-06-13 18:24:33 +0530 |
commit | 4a276b252d84a0b7dd24588e56dc7e214ea2d7c6 (patch) | |
tree | e9cf9d33ed2c137f3ac463c7b272e27fe23be75d /src/kicadtoNgspice/KicadtoNgspice.py | |
parent | 9a5f3dabc357277b384c51ccf047f5580772f454 (diff) | |
parent | 3436aa4615dcc1310db8dc8a85f36418db641fb4 (diff) | |
download | eSim-4a276b252d84a0b7dd24588e56dc7e214ea2d7c6.tar.gz eSim-4a276b252d84a0b7dd24588e56dc7e214ea2d7c6.tar.bz2 eSim-4a276b252d84a0b7dd24588e56dc7e214ea2d7c6.zip |
Merge pull request #251 from FOSSEE/sky130-dev
Merge Sky130 PDK development
Diffstat (limited to 'src/kicadtoNgspice/KicadtoNgspice.py')
-rw-r--r-- | src/kicadtoNgspice/KicadtoNgspice.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kicadtoNgspice/KicadtoNgspice.py b/src/kicadtoNgspice/KicadtoNgspice.py index f549c5c6..e018143f 100644 --- a/src/kicadtoNgspice/KicadtoNgspice.py +++ b/src/kicadtoNgspice/KicadtoNgspice.py @@ -578,8 +578,8 @@ class MainWindow(QtWidgets.QWidget): attr_ui.text = line[2] for key, value in line[7].items(): if ( - hasattr(value, '__iter__') and - i <= end and not isinstance(value, str) + hasattr(value, '__iter__') and + i <= end and not isinstance(value, str) ): for item in value: ET.SubElement( @@ -934,16 +934,16 @@ class MainWindow(QtWidgets.QWidget): subcktInfo += words[i] + " " continue if ( - words[0] == ".end" or - words[0] == ".ac" or - words[0] == ".dc" or - words[0] == ".tran" or - words[0] == '.disto' or - words[0] == '.noise' or - words[0] == '.op' or - words[0] == '.pz' or - words[0] == '.sens' or - words[0] == '.tf' + words[0] == ".end" or + words[0] == ".ac" or + words[0] == ".dc" or + words[0] == ".tran" or + words[0] == '.disto' or + words[0] == '.noise' or + words[0] == '.op' or + words[0] == '.pz' or + words[0] == '.sens' or + words[0] == '.tf' ): continue elif words[0] == ".control": |