Documentation
Task Execution Service (TES)
Components
Create Run

TES Create Run Component

Beta
0.1.1
<ecc-client-ga4gh-tes-create-run/>
ECCClientGa4ghTesCreateRun

Overview

The TES Create Run component is used to create task runs using the Task Execution Service (TES) API. This component provides a user-friendly interface for submitting new tasks to a TES-compliant service.

Preview

Examples

Basic Usage

ECCClientGa4ghTesCreateRun.tsx
import React from 'react';
import ECCClientGa4ghTesCreateRun from '@elixir-cloud/tes/dist/react/create-run/index';
 
export default function CreateRun() {
  return <ECCClientGa4ghTesCreateRun />;
}

Properties

PropertyRequiredDefaultTypeDescription
baseURLfalsehttps://protes.rahtiapp.fi/ga4gh/tes/v1StringBase URL for the TES API

baseURL

The baseURL property specifies the base URL for the TES API. The component will append /tasks to this URL to form the complete endpoint for creating a task run.

Usage Notes

  1. API Endpoint: The component uses the baseURL + /tasks as the endpoint for creating a new task run via a POST request.
  2. Data Validation: While the component includes client-side data validation, it's important to ensure that the data you submit conforms to the TES API specifications.
  3. Error Handling: The component will display error messages if the task creation fails. Check the console for more detailed error information.
Elixir Cloud & AAICloud SDKElixir

Released under Apache 2.0 License.

Copyright © 2023-2024 ELIXIR