summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Convert.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/kicadtoNgspice/Convert.py')
-rw-r--r--src/kicadtoNgspice/Convert.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/kicadtoNgspice/Convert.py b/src/kicadtoNgspice/Convert.py
index 92bc2945..3d45f94a 100644
--- a/src/kicadtoNgspice/Convert.py
+++ b/src/kicadtoNgspice/Convert.py
@@ -1,13 +1,15 @@
class Convert:
- def __init__(self,sourcelisttrack,entry_var,schematicInfo):
+ def __init__(self,sourcelisttrack,source_entry_var,schematicInfo):
print "Start Conversion"
self.sourcelisttrack = sourcelisttrack
self.schematicInfo = schematicInfo
- self.entry_var = entry_var
+ self.entry_var = source_entry_var
self.sourcelistvalue = []
+ self.analysisInserter()
+
def addSourceParameter(self):
print "Adding Source parameter"
print "SourceListTrack : ",self.sourcelisttrack
@@ -103,4 +105,7 @@ class Convert:
del self.schematicInfo[item[0]]
self.schematicInfo.insert(item[0],item[1])
- return self.schematicInfo \ No newline at end of file
+ return self.schematicInfo
+
+ def analysisInserter(self):
+ print "Adding Analysis" \ No newline at end of file