cloudos_cli.related_analyses.related_analyses¶
- cloudos_cli.related_analyses.related_analyses(cloudos_url, apikey, j_id, workspace_id, output_format, verify=True)[source]¶
Retrieve and display related analyses for a given job in a Cloudos workspace.
This function fetches the working directory and related analyses information for a specified job. If the job is a Bash job (which does not have related analyses), a warning is displayed. If the job’s intermediate results have been deleted, a message is shown indicating who deleted them and when. The related analyses can be output in JSON format or displayed as a formatted table.
- Parameters:
cloudos_url (str) – The base URL of the Cloudos instance.
apikey (str) – API key for authentication.
j_id (str) – The ID of the job to analyze.
workspace_id (str) – The ID of the workspace containing the job.
output_format (str) – Output format, either ‘json’ or another format for table display.
verify (bool, optional) – Whether to verify SSL certificates. Defaults to True.
- Raises:
ValueError – If the job does not have a working directory associated.:
Exception – Propagates exceptions not related to missing ‘workDirectory’ field.: