if (FALSE) {
# Assuming 'my_project_job_info.json' and 'options.json' exist in '~/darwin_runs/my_project_run'
# and 'my_project_job_info.json' was created by a previous RunPyDarwinRemote(Wait=FALSE) call.
# Example 1: Specifying only the local directory path
# ProjectName will be derived from options.json within that path.
# Job info file will be sought as {ProjectName}_remote_job_info.json.
try({
reconnect_pyDarwinJob(
LocalDirectoryPath = "~/darwin_runs/my_project_run"
)
})
# Example 2: Specifying paths explicitly
try({
reconnect_pyDarwinJob(
LocalDirectoryPath = "~/darwin_runs/my_project_run", # Still used for downloads
LocalJobInfoFilePath = "~/darwin_runs/my_project_run/my_project_remote_job_info.json",
OriginalOptionsPath = "~/darwin_runs/my_project_run/options.json",
KeyPath = "~/.ssh/id_rsa_remote_server"
)
})
}
Run the code above in your browser using DataLab