Skip to content

Commit

Permalink
Update class-plotdata.R
Browse files Browse the repository at this point in the history
  • Loading branch information
d-callan authored Jan 29, 2024
1 parent 4fc06b7 commit 38fc3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/class-plotdata.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ newPlotdata <- function(.dt = data.table(),
veupathUtils::logWithTime('Data reshaped according to collection variable.', verbose)

# strip entityId from value
.dt[[variable.name]] <- gsub(paste0(inferredVarMetadata@variableSpec@entityId, '.'), '', .dt[[variable.name]])
.dt[[variable.name]] <- gsub(paste0(inferredVarMetadata@variableSpec@entityId, '.'), '', .dt[[variable.name]], fixed=TRUE)

.dt[[variable.name]] <- updateType(.dt[[variable.name]], collectionVarMetadata@dataType@value)
prefix <- names(prefixMap)[prefixMap == collectionVarMetadata@plotReference@value]
Expand Down

0 comments on commit 38fc3b7

Please sign in to comment.