Skip to content

Commit

Permalink
Fixing an issue in the parameters parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalhorton committed Jun 19, 2018
1 parent 3bae2ed commit 5b7da3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/parseOutputs.R
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ parseAllResultsText <- function(directory, predictandDB, datasets, methods, verb
if(!fullFieldName %in% colnames(stations)) {
stations[fullFieldName] <- NA
}
stations[[fullFieldName]][which(stations$id == stationId)] <- (dat[[pos[[i]]+1]] - 1) * dat[[pos[[i]]+9]]
stations[[fullFieldName]][which(stations$id == stationId)] <- (dat[[pos[[i]]+1]] - 1) * dat[[pos[[i]]+3]]
}

# Ypts
Expand Down

0 comments on commit 5b7da3c

Please sign in to comment.