Skip to content

Commit

Permalink
Feature branch for fix-67
Browse files Browse the repository at this point in the history
  • Loading branch information
torbjone committed Apr 28, 2023
1 parent f7dae31 commit 1bde435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lfpykernels/kernel_approximator.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@ def get_kernel(self, probes, Vrest=-65, dt=2**-4,
shape (n_channels, 2 * tau // dt + 1) linear response kernel
'''

if (not self.conductance_based) and g_eff:
print("g_eff is True but conductance_based is False." +
"This probably makes no sense...?")
mssg = "g_eff is True but conductance_based is False." + \
"This probably makes no sense...?"
assert not (g_eff and (not self.conductance_based)), mssg

# get conduction delay transfer function for connections from X to Y
h_delta = self.get_delay(X, dt, tau)
Expand Down

0 comments on commit 1bde435

Please sign in to comment.