diff --git a/LFPy/cell.py b/LFPy/cell.py index 789d38b5..01154ce5 100644 --- a/LFPy/cell.py +++ b/LFPy/cell.py @@ -1643,7 +1643,7 @@ def get_pt3d_polygons(self, projection=('x', 'z')): plt.show() ''' - + if len(projection) != 2: raise ValueError("projection arg be a tuple like ('x', 'y')") if 'x' in projection and 'y' in projection: diff --git a/LFPy/recextelectrode.py b/LFPy/recextelectrode.py index 368f1bde..e7dd4d15 100644 --- a/LFPy/recextelectrode.py +++ b/LFPy/recextelectrode.py @@ -236,6 +236,7 @@ def __init__(self, cell=None, sigma=0.3, cell : LFPy.Cell like object sigma : ''' + RecExtElectrodeSetup.__init__(self, cell, sigma, x, y, z, N, r, n, shape, r_z, perCellLFP, method, color, marker, from_file,