Commit 6163246b authored by Ruben Undheim's avatar Ruben Undheim

Fix another issue in Python

parent 1ecfb445
......@@ -5,8 +5,8 @@ Subject: Fix some imports to make python interface work
---
openEMS/python/openEMS/__init__.py | 3 ++-
openEMS/python/openEMS/nf2ff.py | 4 ++--
openEMS/python/openEMS/ports.py | 4 ++--
3 files changed, 6 insertions(+), 5 deletions(-)
openEMS/python/openEMS/ports.py | 6 +++---
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/openEMS/python/openEMS/__init__.py b/openEMS/python/openEMS/__init__.py
index fb1ddb9..b54ab97 100644
......@@ -35,7 +35,7 @@ index b6d38d0..5b3ffc1 100644
class nf2ff:
"""
diff --git a/openEMS/python/openEMS/ports.py b/openEMS/python/openEMS/ports.py
index 1af1564..2e1088a 100644
index 1af1564..1e42a8f 100644
--- a/openEMS/python/openEMS/ports.py
+++ b/openEMS/python/openEMS/ports.py
@@ -19,9 +19,9 @@
......@@ -50,3 +50,12 @@ index 1af1564..2e1088a 100644
class UI_data:
def __init__(self, fns, path, freq, signal_type='pulse', **kw):
@@ -45,7 +45,7 @@ class UI_data:
self.ui_f_val.append(utilities.DFT_time2freq(tmp[:,0], tmp[:,1], freq, signal_type=signal_type))
# Port Base-Class
-class Port:
+class Port(object):
"""
The port base class.
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