summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfahim-oscad2016-04-15 12:03:12 +0530
committerfahim-oscad2016-04-15 12:03:12 +0530
commit6cb70b28dd399fb2bc460b7412fddbfd59c8244d (patch)
treea72c9c4c800acd415a85503d9651056975fcfc75
parent68ab58bafcb572f3d75a06e85c62aede7eadbff9 (diff)
downloadeSim-6cb70b28dd399fb2bc460b7412fddbfd59c8244d.tar.gz
eSim-6cb70b28dd399fb2bc460b7412fddbfd59c8244d.tar.bz2
eSim-6cb70b28dd399fb2bc460b7412fddbfd59c8244d.zip
Remove Extra condition
-rw-r--r--src/ngspicetoModelica/NgspicetoModelica.py9
1 files changed, 0 insertions, 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')