Skip to content
New issue

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

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

Already on GitHub? # to your account

epoch() contains an @show #239

Closed
Till223 opened this issue Jan 7, 2025 · 1 comment · Fixed by #242
Closed

epoch() contains an @show #239

Till223 opened this issue Jan 7, 2025 · 1 comment · Fixed by #242

Comments

@Till223
Copy link
Contributor

Till223 commented Jan 7, 2025

Description

Running epoch() always prints: (isnothing(evts), isnothing(tbl)) = (false, false)
due to the @show in line 5 of utilities.jl

function epoch(; data, evts = nothing, tbl = nothing, τ, sfreq, kwargs...)
@assert (isnothing(evts) | isnothing(tbl))
evts = isnothing(evts) ? tbl : evts
@show isnothing(evts), isnothing(tbl)
epoch(data, evts, τ, sfreq; kwargs...)
end

@behinger
Copy link
Member

behinger commented Jan 8, 2025

Thanks!!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants