From 6cb70b28dd399fb2bc460b7412fddbfd59c8244d Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Fri, 15 Apr 2016 12:03:12 +0530 Subject: Remove Extra condition --- src/ngspicetoModelica/NgspicetoModelica.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 0ebf8436..8509a883 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -633,15 +633,6 @@ class NgMoConverter: connInfo.append(conn) conn = 'connect(' + words[0] + '.n2,'+ nodeDic[words[2]] + ');' connInfo.append(conn) - elif eachline[0] in ['g','e','G','E']: - conn = 'connect(' + words[0] + '.p1,'+ nodeDic[words[3]] + ');' - connInfo.append(conn) - conn = 'connect(' + words[0] + '.n1,'+ nodeDic[words[4]] + ');' - connInfo.append(conn) - conn = 'connect(' + words[0] + '.p2,'+ nodeDic[words[1]] + ');' - connInfo.append(conn) - conn = 'connect(' + words[0] + '.n2,'+ nodeDic[words[2]] + ');' - connInfo.append(conn) elif eachline[0]=='x' or eachline[0]=='X': templine = eachline.split() temp = templine[0].split('x') -- cgit