You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Connecting the component API to a specific component
67
+
### Applying the API to a specific component
68
68
69
69
A component can inherit from an API specification, which follows the basic viash component.
70
70
The directive for inheriting from an API specification is `__merge__` at the topmost level of the component API.
71
71
That way, all the specifications under the `functionality` directive of the API definition will be merged into the `functionality` component configuration.
72
72
These specifications do not need to be defined again in the component config, unless you want to override them for select tasks.
73
73
Note, that the API file path must be relative to the location of the `config.vsh.yaml` file.
1. The generic component type API specification file.
89
-
2. Specify any component-specific directives that are not in the generic API or overwrite directives if neeeded
89
+
2. Specify any component-specific directives that are not in the generic API or overwrite directives if needed.
90
90
3. The metadata of the component.
91
91
4. Resource files of the component (typically a Python or an R script).
92
92
5. Platform specification info (typically which Docker image to use and which Python/R packages to install on top of that).
@@ -100,7 +100,7 @@ While they can be defined in a viash config file or a component API directly, de
100
100
When specifying the API file formats, you should describe the contents, structure, and any additional metadata required for the files. This information will be useful for developers to understand the expected file formats and components quickly. Use YAML to define the file formats, as shown below:
Copy file name to clipboardExpand all lines: documentation/create_task/index.qmd
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,7 @@ description: Adding a new task from scratch
4
4
order: 30
5
5
---
6
6
7
-
This chapter provides a step-by-step overview of the process, including understanding the typical structure of an OpenProblems task, defining a new task, selecting datasets, designing the API for files and components, adding components, and creating a workflow that ties everything together.
8
-
9
-
Here are the main sections of this guide, each represented by a file with headers:
7
+
This chapter provides a step-by-step overview of the process of adding a new task. Here are the main sections:
10
8
11
9
1.**[Task Structure](task_structure.qmd)**: The structure of a typical OpenProblems task, including its components and file formats.
12
10
@@ -19,5 +17,3 @@ Here are the main sections of this guide, each represented by a file with header
19
17
5.**[Create Components](create_components.qmd)**: Dive into the process of adding components to your task, such as dataset loaders, methods, control methods, and metrics.
20
18
21
19
6.**[Create Workflow](create_workflow.qmd)**: Combine your components into a cohesive Nextflow workflow.
22
-
23
-
By following this guide, you'll gain a thorough understanding of the process and best practices for creating a new OpenProblems task from scratch.
Copy file name to clipboardExpand all lines: documentation/index.qmd
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,21 @@ order: 1
5
5
6
6
Welcome to the OpenProblems documentation!
7
7
8
-
OpenProblems is a library for machine learning scientists, computational biologists, and single-cell data analysts to benchmark and compare single-cell omics methods on a variety of tasks. We believe that improving reproducibility and transparency in research will accelerate progress in single-cell omics.
8
+
OpenProblems is a framework for machine learning scientists, computational biologists, and single-cell data analysts to benchmark and compare single-cell omics methods on a variety of tasks. We believe that improving reproducibility and transparency in research will accelerate progress in single-cell omics.
9
9
10
-
This documentation provides an overview of the library and how to contribute to it. It is organized into several sections, including:
10
+
This documentation provides an overview of the framework and how to contribute to it. It is organized into several chapters, including:
11
11
12
-
*[Analyse results](analyze_results/): How to analyze the benchmarking results in Python and R.
13
-
*[Contribute](contribute/): How to contribute datasets, methods, or metrics to OpenProblems.
14
-
*[Create a new task](create_task/): How to create a new task.
12
+
*[Fundamentals](fundamentals/): the main philosophy of the Openproblems project, key concepts, requirements, and a short getting started guide.
13
+
*[Create components](create_component/): How to contribute datasets, methods, or metrics to OpenProblems.
14
+
*[Create a new task](create_task/): A step-by-step overview of the process of adding a new task
15
+
*[Reference](reference/): Reference documentation on the structure of the OpenProblems repositories.
15
16
*[More information](more_information/): Additional information such as our code of conduct, frequently asked questions, and troubleshooting tips.
16
17
17
-
We encourage everyone who uses OpenProblems to contribute to the library in any way they can. This can include submitting a pull request to improve the documentation, answering queries on the issue tracker, investigating bugs, reviewing other developers' pull requests, or simply reporting issues and giving a "thumbs up" to relevant issues.
18
+
We encourage everyone who uses OpenProblems to contribute to the framework in any way they can. This can include submitting a pull request to improve the documentation, answering queries on the issue tracker, investigating bugs, reviewing other developers' pull requests, or simply reporting issues and giving a "thumbs up" to relevant issues.
18
19
19
20
One simple but important way to contribute is to spread the word about the library by referencing it from your blog and articles, linking to it from your website, or starring it on GitHub to show that you use it. This not only helps us gain more visibility but also encourages others to try out the library and contribute to it.
To get started with contributing to the library, please see the "Contribute" section which provides information on the requirements, getting started, adding datasets, methods, and metrics, and running benchmarks. We also provide a detailed guide on how to create a new task in the "Create a new task" section.
24
-
25
24
Finally, we want to emphasize that OpenProblems is an inclusive community and we expect all members to adhere to our [code of conduct](more_information/code_of_conduct.qmd). We hope that this documentation helps you get started with OpenProblems and we look forward to your contributions.
0 commit comments