-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add examples of configuration files into the doc
Change-Id: I72001a9142d4c2eb40cc198cfb455a751753a993
- Loading branch information
1 parent
a887fe8
commit 6c6e94d
Showing
4 changed files
with
42 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Configuration files | ||
=================== | ||
|
||
Each workflow needs a different configuration, depending on the tasks that are included in it. | ||
|
||
Example for the :py:class:`tasks.workflows.ValidateVacuumSynthesis` workflow | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. literalinclude:: ../../tests/data/in_vacuum/luigi.cfg | ||
:language: ini | ||
|
||
Example for the :py:class:`tasks.workflows.ValidateSynthesis` workflow | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. literalinclude:: ../../tests/data/in_small_O1/luigi.cfg | ||
:language: ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,44 @@ | ||
.. include:: ../../README.rst | ||
|
||
|
||
Workflows | ||
--------- | ||
|
||
The package :py:mod:`synthesis_workflow` contains many tasks that are organized in workflows. | ||
The two main workflows are the following: | ||
|
||
* :py:class:`tasks.workflows.ValidateVacuumSynthesis`: this workflow generates cells | ||
in vacuum (e.g. with no atlas information) and compute some simple validation features. | ||
* :py:class:`tasks.workflows.ValidateSynthesis`: this workflow generates cells in a | ||
given atlas and compute many validation features. | ||
|
||
All workflows need configuration files. Some examples are given in :doc:`./config_files`. | ||
|
||
More details on these workflows and their tasks can be found in the :ref:`API Reference`. | ||
|
||
|
||
.. _API Reference: | ||
|
||
API Reference | ||
------------- | ||
|
||
The :doc:`./api_ref` page contains detailed documentation of: | ||
|
||
* :py:mod:`main workflows<tasks.workflows>` | ||
* :py:mod:`all tasks<tasks>` | ||
* :py:mod:`all workflow tasks<tasks>` | ||
* :py:mod:`all synthesis_workflow functions<synthesis_workflow>` | ||
* :py:mod:`all morphval functions<morphval>` | ||
|
||
.. note:: | ||
:py:mod:`tasks` appears as a package in this documentation but it is actually a subpackage | ||
of the :py:mod:`synthesis_workflow` package. | ||
|
||
|
||
.. toctree:: | ||
:hidden: | ||
:maxdepth: 2 | ||
|
||
Home <self> | ||
config_files | ||
changelog | ||
api_ref |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters