Skip to content

Commit

Permalink
minor rephrasing of code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentvanhees committed Jan 23, 2024
1 parent 5ae1009 commit 72db846
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/readGENEActiv.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ readGENEActiv = function(filename, start = 0, end = 0, progress_bar = FALSE,

if (starttime == "2010-09-16 09:10:00:000") {
# If recording started at this specific date and time then
# that indicates a known bug, use timestamp from first page instead
# that indicates a known incorrectness of the timestamp (based on
# correspondence with manufacturer). In this case we should use the
# timestamp from first page instead.
starttime = gsub(pattern = "Page Time:", replacement = "",
x = fh[grep(pattern = "Page Time", x = fh)[1]])

Check warning on line 40 in R/readGENEActiv.R

View check run for this annotation

Codecov / codecov/patch

R/readGENEActiv.R#L39-L40

Added lines #L39 - L40 were not covered by tests
}
Expand Down

0 comments on commit 72db846

Please sign in to comment.