Skip to content

Commit

Permalink
use image_id as sequenceID is project_type is "Image"
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafnuss committed Sep 13, 2022
1 parent c396f4e commit 9672499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/read_wi.R
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ read_wi <- function(directory = ".") {
dplyr::transmute(
mediaID = .data$image_id,
deploymentID = .data$deployment_id,
sequenceID = NA_character_,
sequenceID = ifelse(wi_project$project_type == "Image", .data$image_id, NA_character_), # TODO: Check ID for sequence type
captureMethod = NA_character_,
timestamp = .data$timestamp,
filePath = .data$location,
Expand Down

0 comments on commit 9672499

Please sign in to comment.