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
Copy file name to clipboardExpand all lines: docs/ff_functions.rst
+7-17
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,10 @@ FF_functions
5
5
create_metawfr
6
6
**************
7
7
8
-
Function to create a meta-workflow-run json structure for case from case metadata.
8
+
The function ``create_metawfr_from_case(metawf_uuid<str>, case_uuid<str>, type<str>, ff_key<key>, post=False, patch_case=False, verbose=False)`` allows to create a meta-workflow-run json structure for case from case metadata.
9
9
Return json structure for the meta-workflow-run.
10
10
Can automatically post the meta-workflow-run as *MetaWorkflowRun* object on the portal and patch ``meta_workflow_run`` key for case with the new uuid.
The function ``run_metawfr(metawfr_uuid<str>, ff_key<key>, verbose=False, sfn='tibanna_zebra', env='fourfront-cgap', maxcount=None)`` allows to run workflow-runs in meta-workflow-run.
38
+
Calculates which workflow-runs are ready to run, starts the run with tibanna and patches the metadata.
43
39
44
40
.. code-block:: python
45
41
@@ -65,11 +61,9 @@ Calculates which workflow-runs are ready to run, starts the run with tibanna and
65
61
status_metawfr
66
62
**************
67
63
68
-
Function to check and patch status for workflow-runs in meta-workflow-run that are running.
64
+
The function ``status_metawfr(metawfr_uuid<str>, ff_key<key>, verbose=False, env='fourfront-cgap')`` allows to check and patch status for workflow-runs in meta-workflow-run that are running.
69
65
Update the status to ``completed`` or ``failed`` for finished runs.
@@ -90,13 +84,11 @@ Update the status to ``completed`` or ``failed`` for finished runs.
90
84
import_metawfr
91
85
**************
92
86
93
-
Creates a new meta-workflow-run json structure for case using specified ``create_metawfr`` function.
87
+
The function ``import_metawfr(metawf_uuid<str>, metawfr_uuid<str>, case_uuid<str>, steps_name<str list>, create_metawfr<function>, type<str>, ff_key<key>, post=False, verbose=False)`` allows to create a new meta-workflow-run json structure for case using specified ``create_metawfr`` function.
94
88
Imports information from different meta-workflow-run specified as ``metawfr_uuid`` for steps that are listed in ``steps_name``.
95
89
Return json structure for the new meta-workflow-run.
96
90
Can automatically post the new meta-workflow-run as *MetaWorkflowRun* object on the portal.
The function ``reset_status(metawfr_uuid<str>, status<str | str list>, step_name<str | str list>, ff_key<key>, verbose=False)`` allows to re-set workflow-runs in meta-workflow-run that correspond to a step defined in ``step_name`` and with status in ``status``.
0 commit comments