Skip to content

Commit

Permalink
recelec.py cleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Jan 10, 2017
1 parent 051c569 commit e2bd431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LFPy/cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions LFPy/recextelectrode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e2bd431

Please sign in to comment.