File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ def cwl_to_jsonschema(cwl_obj: Workflow | CommandLineTool) -> Any:
339339 # Initialise the schema from the workflow input json schema template
340340
341341 with (
342- files ("cwl-utils " )
342+ files ("cwl_utils " )
343343 .joinpath ("./templates/workflow_input_json_schema_template.json" )
344344 .open () as template_h
345345 ):
Original file line number Diff line number Diff line change 1010from cwl_utils .parser import load_document_by_uri , save
1111
1212# File Input - This is the only thing you will need to adjust or take in as an input to your function:
13- cwl_file = Path ("testdata/md5sum.cwl" ) # or a plain string works as well
13+ cwl_file = Path ("../ testdata/md5sum.cwl" ) # or a plain string works as well
1414
1515# Import CWL Object
1616cwl_obj = load_document_by_uri (cwl_file )
Original file line number Diff line number Diff line change 99def test_load_example () -> None :
1010 """Test the load_cwl_by_path.py script."""
1111 cwd = Path .cwd ()
12- target = files ("cwl_utils/tests " ).joinpath ("load_cwl_by_path.py" )
12+ target = files ("cwl_utils" ).joinpath ("tests/ load_cwl_by_path.py" )
1313 with as_file (target ) as target_path :
1414 os .chdir (target_path .parent )
1515 result_raw = runpy .run_path (str (target_path ))
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ include = [
9191" /cwl_utils/**.py" ,
9292" /cwl_utils/*.js" ,
9393" /cwl_utils/parser/*.py" ,
94- " /cwl_utils/tests/** .py" ,
94+ " /cwl_utils/tests/*.py" ,
9595" /cwl_utils/templates/*" ,
9696" /cwl_utils/testdata/*.cwl" ,
9797" /cwl_utils/testdata/*.yaml" ,
@@ -131,7 +131,7 @@ include = [
131131" /cwl_utils/**.py" ,
132132" /cwl_utils/*.js" ,
133133" /cwl_utils/parser/*.py" ,
134- " /cwl_utils/tests/** .py" ,
134+ " /cwl_utils/tests/*.py" ,
135135" /cwl_utils/templates/*" ,
136136" /cwl_utils/testdata/*.cwl" ,
137137" /cwl_utils/testdata/*.yaml" ,
You can’t perform that action at this time.
0 commit comments