Skip to content

Commit

Permalink
Revert "Temporary debug messages"
Browse files Browse the repository at this point in the history
This reverts commit 7061b11.
  • Loading branch information
bpbond committed Feb 29, 2024
1 parent 7061b11 commit 0c51d11
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions R/metadata.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ wtf_metadata_match <- function(data_timestamps,
start_dates, start_times,
obs_lengths) {

wtf_message("class(data_timestamps) = ", class(data_timestamps))
wtf_message("class(start_dates) = ", class(start_dates))
wtf_message("class(start_times) = ", class(start_times))

# Input checks and convert to dates/timestamps if needed
stopifnot(length(start_dates) == length(start_times))
stopifnot(length(start_dates) == length(obs_lengths))
Expand Down Expand Up @@ -76,8 +72,6 @@ wtf_metadata_match <- function(data_timestamps,
start_timestamps <- start_dates + start_times
stopifnot(is.POSIXct((start_timestamps))) # should always be true!
stop_timestamps <- start_timestamps + obs_lengths
wtf_message("start_timestamps = ", paste(start_timestamps, collapse = ","))
wtf_message("stop_timestamps = ", paste(stop_timestamps, collapse = ","))

# Metadata records shouldn't overlap; we assume that metadata is from a
# single machine that generated the data
Expand Down

0 comments on commit 0c51d11

Please sign in to comment.