Good day.
We are running Achilles in RStudio on an Amazon AWS enterprise installation of OHDSI.
We are running into some issues when running Achilles. One of them is that for some analyses we get the following error: ERROR: no runtime found in log file.
I can see in the code of Achilles on GitHub the following:
getAchillesResultBenchmark ← function(analysisId, logs) {
logs ← logs[logs$analysisId == analysisId, ]
if (nrow(logs) == 1) {
runTime ← strsplit(logs[1, ]$runTime, " ")[[1]]
runTimeValue ← round(as.numeric(runTime[1]), 2)
runTimeUnit ← runTime[2]
if (runTimeUnit == “mins”) {
runTimeValue ← runTimeValue * 60
} else if (runTimeUnit == “hours”) {
runTimeValue ← runTimeValue * 60 * 60
} else if (runTimeUnit == “days”) {
runTimeValue ← runTimeValue * 60 * 60 * 24
}
runTimeValue
} else {
“ERROR: no runtime found in log file”
}
}
But I do not understand how this log is being used by Achilles and how to debug and fix this error.
Has anyone encountered the same or similar?
I appreciate your help.
Kind regards
Amelia