Skip to content
Snippets Groups Projects
Commit 89a6a07f authored by Nicolas Mansard's avatar Nicolas Mansard Committed by Nicolas Mansard
Browse files

Corrected a syntax error in an exception raising + remove the shortcut .m from...

Corrected a syntax error in an exception raising + remove the shortcut .m from the class basic definition.
parent 426ed2df
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ def stringToTuple (vector) :
# check size
if len(vector) != size:
raise TypeError('displayed size ' +
size + ' of vector does not fit actual size: '
str(size) + ' of vector does not fit actual size: '
+ str(len(vector)))
res = map(float, vector)
return tuple (res)
......@@ -238,14 +238,4 @@ class SignalBase (object) :
"""
return(wrap.signal_base_display_dependencies(self.obj,iter))
# Script short-cuts: don't use this syntaxt in python coding,
# use it for debuging online only!
@property
def m(self):
"""
m stands for matlab: display the content of the
signal with matlab style, for debuging and transfert.
matlab-style to be coded ...
"""
print(self.value)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment