From b4aaf84bf6812246dafc8a944790d3984e64dfa7 Mon Sep 17 00:00:00 2001 From: ambikeshwar1991 Date: Wed, 24 Sep 2014 11:49:44 +0530 Subject: sub-circuit bug has been resolved by removing opamp1 --- FreeEDA/kicadtoNgspice/KicadtoNgspice.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/FreeEDA/kicadtoNgspice/KicadtoNgspice.py b/FreeEDA/kicadtoNgspice/KicadtoNgspice.py index 99b8cca..6132dc1 100755 --- a/FreeEDA/kicadtoNgspice/KicadtoNgspice.py +++ b/FreeEDA/kicadtoNgspice/KicadtoNgspice.py @@ -2270,10 +2270,6 @@ def convertICintoBasicBlocks(schematicInfo,outputOption,guimodelvalue): ic=' Enter initial condition on output (default=0): ' print "-----------------------------------------------------------" guimodelvalue.append([index,compline,compType,compName,Comment,Title,words[1],ic]) - elif compType=="opamp1": - f = open(FreeEDA_HOME) - data = f.read() - schematicInfo.insert(index,data) elif compType=="transfo": schematicInfo.append("a"+str(k)+" ("+words[1]+" "+words[2]+") (2mmf "+words[2]+") "+compName+"_primary") k=k+1 -- cgit