summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Source.py
diff options
context:
space:
mode:
authorFahim2016-03-01 17:24:00 +0530
committerFahim2016-03-01 17:24:00 +0530
commit9347ac2e7c7d7c0693cd85327297b519196dbb90 (patch)
treee296f8b423f063bef60cc6115f6d6b3adfe5e3c8 /src/kicadtoNgspice/Source.py
parent44d403c92bf62a8885e2a2cddf2bd4019c5532b9 (diff)
downloadeSim-9347ac2e7c7d7c0693cd85327297b519196dbb90.tar.gz
eSim-9347ac2e7c7d7c0693cd85327297b519196dbb90.tar.bz2
eSim-9347ac2e7c7d7c0693cd85327297b519196dbb90.zip
Remove all unwanted print command
Diffstat (limited to 'src/kicadtoNgspice/Source.py')
-rw-r--r--src/kicadtoNgspice/Source.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/kicadtoNgspice/Source.py b/src/kicadtoNgspice/Source.py
index c1bec121..1cf1487d 100644
--- a/src/kicadtoNgspice/Source.py
+++ b/src/kicadtoNgspice/Source.py
@@ -1,12 +1,8 @@
-import sys
import os
from PyQt4 import QtGui
-from Processing import PrcocessNetlist
import TrackWidget
from xml.etree import ElementTree as ET
-
-
class Source(QtGui.QWidget):
"""
This class create Source Tab of KicadtoNgSpice Window.
@@ -36,7 +32,6 @@ class Source(QtGui.QWidget):
kicadFile = self.clarg1
(projpath,filename)=os.path.split(kicadFile)
project_name=os.path.basename(projpath)
- print "PROJECT NAME---------",project_name
check=1
try:
f=open(os.path.join(projpath,project_name+"_Previous_Values.xml"),'r')
@@ -47,7 +42,7 @@ class Source(QtGui.QWidget):
root=child
except:
check=0
- print "Empty XML"
+ print "Source Previous Values XML is Empty"
self.grid = QtGui.QGridLayout()
self.setLayout(self.grid)
@@ -56,7 +51,7 @@ class Source(QtGui.QWidget):
if sourcelist:
for line in sourcelist:
#print "Voltage source line index: ",line[0]
- print "SourceList line Test: ",line
+ print "SourceList line: ",line
track_id=line[0]
#print "track_id is ",track_id
if line[2]=='ac':
@@ -277,7 +272,6 @@ class Source(QtGui.QWidget):
self.row=self.row+1
self.count=self.count+1
self.end=self.count-1
- print "End",self.end
expbox.setLayout(expgrid)
#CSS