summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2019-02-10 13:08:08 +0000
committerRuben Undheim <ruben.undheim@gmail.com>2019-02-10 13:08:08 +0000
commit6163246bc336e4a45650ca8176f80b5a7fdf01ab (patch)
treee59abdfd062fb60b75bc81decfffbeed22b37d78
parent1ecfb445f7afdb11a29ac237ad649a4f50c9bd23 (diff)
Fix another issue in Python
-rw-r--r--debian/patches/0007-Fix-some-imports-to-make-python-interface-work.patch15
1 files changed, 12 insertions, 3 deletions
diff --git a/debian/patches/0007-Fix-some-imports-to-make-python-interface-work.patch b/debian/patches/0007-Fix-some-imports-to-make-python-interface-work.patch
index 84d0018..f6bcd8f 100644
--- a/debian/patches/0007-Fix-some-imports-to-make-python-interface-work.patch
+++ b/debian/patches/0007-Fix-some-imports-to-make-python-interface-work.patch
@@ -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.
+