getJobLogs: Retrieve job log from API

View source: R/API.R

getJobLogsR Documentation

Retrieve job log from API

Description

Retrieve job log from API

Usage

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

Arguments

job_id

The job identifier.

opts

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

Value

Logs as character string.

Examples

## Not run: 

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


## End(Not run)

antaresEditObject documentation built on Oct. 4, 2023, 1:06 a.m.