Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temporarily disable peak-detection tests for MetabolicHHNeuron network #544

Merged
merged 2 commits into from
Feb 19, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions test/components.jl
Original file line number Diff line number Diff line change
Expand Up @@ -904,16 +904,16 @@ end
V_ts_exc = sol[V_inds[1], :]
V_ts_inh = sol[V_inds[N_exc+1], :]

# Check if time points where V(t) > 20 mV occur throughout the ts
t_above = sol.t[V_ts_exc .> -20]
@test minimum(t_above) < 50 && maximum(t_above) > 150
t_above = sol.t[V_ts_inh .> -20]
@test minimum(t_above) < 50 && maximum(t_above) > 150

# Check if time points where V(t) < -40 mV occur throughout the ts
t_below = sol.t[V_ts_exc .< -40]
@test minimum(t_below) < 50 && maximum(t_below) > 150
t_below = sol.t[V_ts_inh .< -40]
@test minimum(t_below) < 50 && maximum(t_below) > 150
# # Check if time points where V(t) > 20 mV occur throughout the ts
# t_above = sol.t[V_ts_exc .> -20]
# @test minimum(t_above) < 50 && maximum(t_above) > 150
# t_above = sol.t[V_ts_inh .> -20]
# @test minimum(t_above) < 50 && maximum(t_above) > 150

# # Check if time points where V(t) < -40 mV occur throughout the ts
# t_below = sol.t[V_ts_exc .< -40]
# @test minimum(t_below) < 50 && maximum(t_below) > 150
# t_below = sol.t[V_ts_inh .< -40]
# @test minimum(t_below) < 50 && maximum(t_below) > 150

end