-
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.
Change-Id: I07a21b25697ed4e0a13f0f2e9aa28f2e305ec79a
- Loading branch information
1 parent
44c993a
commit 017ba53
Showing
46 changed files
with
2,714 additions
and
380 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ dist | |
.eggs | ||
|
||
reports | ||
doc/source/autoapi/ | ||
doc/_images |
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,17 +1,82 @@ | ||
synthesis-workflow | ||
Synthesis Workflow | ||
================== | ||
|
||
Workflow used for synthesis and its validation. | ||
This project contains several workflows used for neuron synthesis and the validation of this process. | ||
It is devided into two packages: | ||
|
||
* **synthesis-workflow**, which contains the workflow tasks and tools. | ||
* **MorphVal**, which is a library used for morphology validation and can be used as a standalone. | ||
|
||
|
||
Installation | ||
------------ | ||
In a fresh virtualenv: | ||
|
||
.. code:: bash | ||
This package rely on several internal requirements which can be found in the BBP devpi index. | ||
This index must be specified to pip: | ||
|
||
.. code:: | ||
pip install --index-url https://bbpteam.epfl.ch/repository/devpi/simple synthesis-workflow | ||
Usage | ||
----- | ||
|
||
Synthesis workflow | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
The usual command is the following: | ||
|
||
.. code:: | ||
synthesis_workflow <workflow> | ||
You can get help and complete parameter description with the following commands: | ||
|
||
.. code:: | ||
synthesis_workflow --help | ||
synthesis_workflow <workflow> --help | ||
You can also run a complete ``luigi`` command in order to fine-control task parameters: | ||
|
||
.. code:: | ||
luigi --module synthesis_workflow.tasks.workflows --help | ||
luigi --module synthesis_workflow.tasks.workflows <workflow> --help | ||
luigi --module synthesis_workflow.tasks.workflows <workflow> [specific arguments] | ||
.. note:: | ||
|
||
The ``synthesis_workflow`` command (or the complete ``luigi`` command) must be | ||
executed from a directory containing a ``luigi.cfg`` file. | ||
A simple example of such file is given in the ``examples`` directory. | ||
Complete examples for BBP usecases are provided here: `<https://bbpcode.epfl.ch/browse/code/project/proj82/tree/entities/synthesis_workflow?h=refs/heads/master>`_ | ||
|
||
Morphology validation | ||
~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
The usual command is the following: | ||
|
||
.. code:: | ||
morph_validation -t <path to reference data> -r <path to test data> -o <output path> -c <YAML config file> --bio-compare | ||
You can get help and complete parameter description with the following command: | ||
|
||
.. code:: | ||
morph_validation --help | ||
Workflows | ||
--------- | ||
|
||
The package ``synthesis-workflow`` contains many tasks that are organized in workflows. | ||
The two main workflows are the following: | ||
|
||
* ``synthesis-workflow.tasks.ValidateVacuumSynthesis``: this workflow generates cells | ||
in vacuum (e.g. with no atlas information) and compute some simple validation features. | ||
* ``synthesis-workflow.tasks.ValidateSynthesis``: this workflow generates cells in a | ||
given atlas and compute many validation features. | ||
|
||
More details on these workflows and their tasks can be found in the API Reference. |
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,11 @@ | ||
API Reference | ||
============= | ||
|
||
This page contains auto-generated API reference documentation. | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
autoapi/morphval/index | ||
autoapi/synthesis_workflow/index | ||
autoapi/tasks/index |
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 |
---|---|---|
@@ -1,10 +1,21 @@ | ||
.. include:: ../../README.rst | ||
|
||
|
||
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 synthesis_workflow functions<synthesis_workflow>` | ||
* :py:mod:`all morphval functions<morphval>` | ||
|
||
|
||
.. toctree:: | ||
:hidden: | ||
:maxdepth: 2 | ||
|
||
Home <self> | ||
changelog | ||
autoapi/index | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
graphviz | ||
sphinx | ||
sphinx-autoapi | ||
sphinx-bluebrain-theme |
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,4 +1,4 @@ | ||
diff_pdf_visually | ||
diff_pdf_visually>=1.5.1 | ||
pytest | ||
pytest-cov | ||
pytest-html | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
"""Morphology Statistical Validation Package""" | ||
"""Morphology Statistical Validation Package.""" | ||
import pkg_resources | ||
|
||
__version__ = pkg_resources.get_distribution("synthesis_workflow").version |
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
Oops, something went wrong.