Skip to content

Commit 24d98a2

Browse files
committed
Fix not being able to filter by whether a session has positional data
1 parent 376aae3 commit 24d98a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/get_sessions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ getSessionInfo <- function(
3939
sessions <- dplyr::left_join(sessions, pos_sessions, by = "session_id")
4040
sessions <- dplyr::mutate(sessions, pos_data = !is.na(pos_data))
4141
if (!is.null(has_pos_data)) {
42-
sessions <- dplyr::filter(sessions, pos_data == pos_data)
42+
sessions <- dplyr::filter(sessions, pos_data == has_pos_data)
4343
}
4444
if (!is.null(logger_deployed)) {
4545
sessions <- dplyr::filter(sessions, !is.na(deployment_id) == logger_deployed)

0 commit comments

Comments
 (0)