Skip to content

Commit

Permalink
Merge pull request #74 from nim65s/devel
Browse files Browse the repository at this point in the history
[Python] remove references to matlab, fix #73
  • Loading branch information
nim65s committed Mar 4, 2021
2 parents 54e8fbd + 7de5426 commit 12c8e4c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/dynamic_graph/script_shortcuts.py
Expand Up @@ -14,7 +14,6 @@
import sys

from .entity import Entity
from .matlab import matlab
from .signal_base import SignalBase


Expand All @@ -39,7 +38,7 @@ def __init__(self, sig):
self.sig = sig

def __str__(self):
return self.sig.name + " = " + str(matlab(self.sig.value))
return self.sig.name + " = " + str(self.sig.value)

def __repr__(self):
return str(self)
Expand All @@ -59,12 +58,10 @@ def sigMatPrint(sig):

setattr(SignalBase, 'm', property(PrettySignalPrint))

# print('Pretty matlab print set')


# Enable the same as 'm', but directly on the signal object.
def sigRepr(self):
return self.name + ' = ' + str(matlab(self.value))
return self.name + ' = ' + str(self.value)


def sigCall(sig, iter):
Expand Down

0 comments on commit 12c8e4c

Please sign in to comment.