Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] remove references to matlab, fix #73 #74

Merged
merged 1 commit into from Mar 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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