From b95b63602dbfb464d545cfdc3bbe26bff68bda33 Mon Sep 17 00:00:00 2001 From: Steven Ray Anaya Date: Tue, 16 Jan 2024 18:19:22 -0700 Subject: [PATCH] Fix CWL no job gold standard task inputs --- beeflow/tests/test_parser.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/beeflow/tests/test_parser.py b/beeflow/tests/test_parser.py index b6a10e0b6..0cf71fc5d 100644 --- a/beeflow/tests/test_parser.py +++ b/beeflow/tests/test_parser.py @@ -164,7 +164,8 @@ def test_parse_workflow_no_job(self): hints=[Hint(class_='DockerRequirement', params={'dockerImageId': '/usr/projects/beedev/clamr/clamr-toss.tar.gz'})], requirements=[], - inputs=[], + inputs=[StepInput(id='infile', type='File', value=None, default='lorem.txt', + source='infile', prefix=None, position=1, value_from=None)], outputs=[StepOutput(id='clamr/outfile', type='stdout', value=None, glob='graphics_output')], stdout='graphics_output', @@ -175,7 +176,8 @@ def test_parse_workflow_no_job(self): base_command='ffmpeg -f image2 -i $HOME/graphics_output/graph%05d.png -r 12 -s 800x800 -pix_fmt yuv420p $HOME/CLAMR_movie.mp4', # noqa hints=[], requirements=[], - inputs=[], + inputs=[StepInput(id='infile', type='File', value=None, default='graphics_output', + source='clamr/outfile', prefix=None, position=1, value_from=None)], outputs=[StepOutput(id='ffmpeg/outfile', type='stdout', value=None, glob='CLAMR_movie.mp4')], stdout='CLAMR_movie.mp4',