From 39566b5f5f4085e46bdcb8512bac26359ebb07a0 Mon Sep 17 00:00:00 2001 From: Nishchay Karle <45297081+NishchayKarle@users.noreply.github.com> Date: Tue, 20 Feb 2024 23:32:03 -0800 Subject: [PATCH] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 86589f8..feef766 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Command Line Tool app tutorial +# CWLApp tutorial -Command Line Tool is a python app that allows you to integrate CWL 'CommandLineTool' files with parsl. +CWLApp is a python app that allows you to integrate CWL 'CommandLineTool' files with parsl. Parsl is a python parallel scripting library. @@ -27,9 +27,9 @@ outputs: type: stdout ``` -### Creating a CommandLineTool app +### Creating a CWLApp ```python -from cwl import CommandLineTool +from cwl import CWLApp # app takes one argument - path to cwl file echo = CWLApp("echo.cwl") @@ -43,9 +43,9 @@ echo ``` --- -### Running CommandLineTool app with Parsl +### Running CWLapp app with Parsl -CWLApp uses Parsl's bash_app internally for running the CommandLineTools and returns a DataFuture. +CWLApp uses Parsl's bash_app internally for running the CWLapps and returns a DataFuture. DataFutures represent the files produces by execution of an asynchronous app. Parsl’s dataflow model, in which data flows from one app to another via files, requires such a construct to enable apps to validate creation of required files and to subsequently resolve dependencies when input files are created. When invoking an app, Parsl requires that a list of output files be specified (using the ```outputs``` keyword argument). A DataFuture for each file is returned by the app when it is executed. Throughout execution of the app, Parsl will monitor these files to 1) ensure they are created, and 2) pass them to any dependent apps. @@ -329,4 +329,4 @@ wc( with open("wc_stdout.txt", "r") as f: print(f.read()) -``` \ No newline at end of file +```