diff options
Diffstat (limited to 'src/kicadtoNgspice/Convert.py')
-rwxr-xr-x | src/kicadtoNgspice/Convert.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/kicadtoNgspice/Convert.py b/src/kicadtoNgspice/Convert.py index 31d48f8b..9aec6cce 100755 --- a/src/kicadtoNgspice/Convert.py +++ b/src/kicadtoNgspice/Convert.py @@ -525,7 +525,7 @@ class Convert: # print("Library Path :", libpath) # Copying library from devicemodelLibrary to Project Path # Special case for MOSFET - print(eachline[0:5] ) + print(eachline[0:5]) if eachline[0] == 'm': # For mosfet library name come along with MOSFET # dimension information @@ -552,13 +552,14 @@ class Convert: elif eachline[0:6] == 'scmode': tempStr = completeLibPath.split(':') print(tempStr) - includeLine.append(".lib \"" + tempStr[0] + "\" " + tempStr[1]) + includeLine.append( + ".lib \"" + tempStr[0] + "\" " + tempStr[1]) deviceLine[index] = '' - #words.append(completeLibPath) - #deviceLine[index] = words + # words.append(completeLibPath) + # deviceLine[index] = words elif eachline[0:2] == 'sc' and eachline[0:6] != 'scmode': - temp_str = words[0].replace('sc','xsc') + temp_str = words[0].replace('sc', 'xsc') words[0] = temp_str words.append(completeLibPath) deviceLine[index] = words |