Skip to content

Commit

Permalink
Update template_detector.R
Browse files Browse the repository at this point in the history
  • Loading branch information
maRce10 committed May 2, 2024
1 parent dbba26f commit b3e6d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/template_detector.R
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ template_detector <-
if (all(is.na(sel_table_df$start)) & verbose) {
print(x = "no sound events above threshold were detected")
} else if (all(sel_table_df$sound.files %in% list.files(path = corr_call_path)) &
all(!is.na(sel_table_df$start))) {
any(!is.na(sel_table_df$start))) {
sel_table_df <-
warbleR::selection_table(
X = sel_table_df[!is.na(sel_table_df$start), ],
Expand Down

0 comments on commit b3e6d31

Please sign in to comment.