Commit 30aa7100 authored by Hilton Bristow's avatar Hilton Bristow Committed by hbristow

Removed some debug statements

parent eda32520
...@@ -51,7 +51,6 @@ class MatlabWrapperGenerator(object): ...@@ -51,7 +51,6 @@ class MatlabWrapperGenerator(object):
# populate templates # populate templates
for namespace in parse_tree.namespaces: for namespace in parse_tree.namespaces:
print 'populating function templates from '+namespace.name
# functions # functions
for function in namespace.functions: for function in namespace.functions:
populated = tfunction.render(fun=function, time=time) populated = tfunction.render(fun=function, time=time)
...@@ -60,8 +59,6 @@ class MatlabWrapperGenerator(object): ...@@ -60,8 +59,6 @@ class MatlabWrapperGenerator(object):
# classes # classes
for clss in namespace.classes: for clss in namespace.classes:
# cpp converter # cpp converter
if len(clss.functions) > 2:
print clss.functions[1].__str__()
populated = tclassc.render(clss=clss, time=time) populated = tclassc.render(clss=clss, time=time)
with open(output_private_dir+'/'+clss.name+'Bridge.cpp', 'wb') as f: with open(output_private_dir+'/'+clss.name+'Bridge.cpp', 'wb') as f:
f.write(populated) f.write(populated)
...@@ -69,4 +66,3 @@ class MatlabWrapperGenerator(object): ...@@ -69,4 +66,3 @@ class MatlabWrapperGenerator(object):
populated = tclassm.render(clss=clss, time=time) populated = tclassm.render(clss=clss, time=time)
with open(output_class_dir+'/'+clss.name+'.m', 'wb') as f: with open(output_class_dir+'/'+clss.name+'.m', 'wb') as f:
f.write(populated) f.write(populated)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment