RAPPEL : Opération de maintenance > ForgeMIA indisponible le 20 Janvier entre 7h et 12h

Commit 3b479c4c authored by Jerome Mariette's avatar Jerome Mariette
Browse files

others methods ok

parent 8aa504e1
......@@ -82,7 +82,6 @@
<ul class="nav nav-stacked">
<li><a href="#functions">Functions</a></li>
<li><a href="#abstractions">Abstractions</a></li>
<li><a href="#parallelisation">Dependance and parallelisation</a></li>
</ul>
</li>
<li><a href="#other_methods">Other methods</a>
......@@ -1022,61 +1021,22 @@ fastq2fasta.py --input splB.fastq --fasta splB.fasta --qual splB.qual
fastq2fasta.py --input splC.fastq --fasta splC.fasta --qual splC.qual</code></pre>
</div>
<div id="parallelisation" class="subgroup">
<h2>Dependance and parallelisation</h2>
<p>In jflow the parallelisation and the chaining is automatically managed with <code>inputs</code>, <code>includes</code> and <code>outputs</code> of each ShellFunction/PythonFunction.</p>
<p>To start, all the commands lines are written at the beginning of the workflow. After that, a specific command line starts when
the files in <code>inputs</code> and <code>includes</code> are all available.</p>
<p>To be available a file as two solutions:</p>
<ul>
<li>It exists before the workflow.</li>
<li>It is an <code>outputs</code> of an other ShellFunction/PythonFunction (in same component or not) and this component
has finished to writte.</li>
</ul>
</div>
</section>
<section id="other_methods" class="group">
<h1 class="page-header">Other available methods</h1>
<div id="pre_process" class="subgroup"><h2>Overloading pre process</h2></div>
<div id="post_process" class="subgroup"><h2>Overloading post process</h2></div>
<h1 class="page-header">Other methods</h1>
<div id="pre_process" class="subgroup">
<h2>Pre process</h2>
<p><code>pre_process()</code> is executed before running the <code>process</code> method. Unlike <code>process</code>, this method does not allow
to call a <code>ShellFunction</code> or a <code>PythonFunction</code>, but can be useful when implementing an application requiring to prepare some
data before running the component (insert / recover information from a database, ...).</p>
</div>
<div id="post_process" class="subgroup">
<h2>Post process</h2>
<p><code>post_process()</code> is executed right after the <code>process</code> method and cannot be used to call a <code>ShellFunction</code> or a
<code>PythonFunction</code>. This method can be useful to perform some database transactions and to synchronize data.</p>
</div>
</section>
<section id="external_components" class="group">
......
......@@ -80,7 +80,12 @@
</ul>
</li>
<li><a href="#process">Process</a></li>
<li><a href="#other_methods">Other methods</a></li>
<li><a href="#other_methods">Other methods</a>
<ul class="nav nav-stacked">
<li><a href="#pre_process">Pre process</a></li>
<li><a href="#post_process">Post process</a></li>
</ul>
</li>
</ul>
</nav>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment