Skip to content

Commit 761dcb9

Browse files
committed
Added a docstring
1 parent 48ecf43 commit 761dcb9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

wfcommons/wfbench/translator/streamflow.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ def __init__(self,
3838
super().__init__(workflow, logger)
3939

4040
def translate(self, output_folder: pathlib.Path) -> None:
41+
"""
42+
Translate a workflow benchmark description (WfFormat) into an actual workflow application.
43+
44+
:param output_folder: The path to the folder in which the workflow benchmark will be generated.
45+
:type output_folder: pathlib.Path
46+
"""
4147
# Perform the CWL translation (which will create the output folder)
4248
from wfcommons.wfbench import CWLTranslator
4349
cwl_translator = CWLTranslator(workflow=self.workflow, logger=self.logger)

0 commit comments

Comments
 (0)