Learn R Programming

antaresEditObject (version 0.6.4)

getJobLogs: Retrieve job log from API

Description

Retrieve job log from API

Usage

getJobLogs(job_id, opts = antaresRead::simOptions())

Value

Logs as character string.

Arguments

job_id

The job identifier.

opts

List of simulation parameters returned by the function antaresRead::setSimulationPath()

Examples

Run this code
if (FALSE) {

antaresRead::setSimulationPathAPI(
  host = "http://localhost:8080",
  study_id = "39c604fc-687f-46c4-9fa6-59b57ff9c8d1",
  token = NULL,
  simulation = "input"
)
job <- runSimulation()
getJobLogs(job)

}

Run the code above in your browser using DataLab