From 4b6eef9e01a5d9b2d1e07c4b996c9a73ebec3f31 Mon Sep 17 00:00:00 2001 From: nishchaykarle Date: Wed, 24 Apr 2024 06:20:21 -0500 Subject: [PATCH] add folder cwl_app for the CWLApp package --- cwl/__init__.py | 1 + cwl/cwl_app/__init__.py | 2 +- tests/__init__.py | 2 +- tests/test_invalid_cwl_files.py | 2 +- tools/tools.py | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 cwl/__init__.py diff --git a/cwl/__init__.py b/cwl/__init__.py new file mode 100644 index 0000000..6c0c9b2 --- /dev/null +++ b/cwl/__init__.py @@ -0,0 +1 @@ +from cwl.cwl_app import CWLApp \ No newline at end of file diff --git a/cwl/cwl_app/__init__.py b/cwl/cwl_app/__init__.py index d418f32..eac0feb 100644 --- a/cwl/cwl_app/__init__.py +++ b/cwl/cwl_app/__init__.py @@ -1,5 +1,5 @@ """This package provides a CWLApp class to run CWL Command Line Tools.""" -from cwl.cwl_app import CWLApp +from cwl.cwl_app.cwl_app import CWLApp __all__ = ['CWLApp'] \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__.py index c538a41..7c79c42 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,3 +1,3 @@ """This package contains the tests for the CWLApp class.""" -from cwl.cwl_app import CWLApp +from cwl import CWLApp diff --git a/tests/test_invalid_cwl_files.py b/tests/test_invalid_cwl_files.py index 5a7117d..1523d5c 100644 --- a/tests/test_invalid_cwl_files.py +++ b/tests/test_invalid_cwl_files.py @@ -4,7 +4,7 @@ import pytest -from cwl.cwl_app import CWLApp +from cwl import CWLApp invalid_cwl_files = os.path.join(os.getcwd(), "tests", "invalid-cwl-files") diff --git a/tools/tools.py b/tools/tools.py index 7334992..4c6ca8c 100644 --- a/tools/tools.py +++ b/tools/tools.py @@ -2,7 +2,7 @@ import os -from cwl.cwl_app import CWLApp +from cwl import CWLApp # Create CommandLineTool objects CWL files