Skip to content

Commit

Permalink
[FIX] Fixing the docker cwl shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCinquini committed Mar 4, 2024
1 parent a4f6625 commit 18b4b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/docker/cwl/docker_cwl_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ else
echo "Using job arguments from JSON string:" && cat /tmp/job_args.json
job_args="/tmp/job_args.json"
fi
echo "Executing CWL workflow: $cwl_workflow with json arguments: $job_args and output directory: $output_dir"
echo "Executing the CWL workflow: $cwl_workflow with json arguments: $job_args and output directory: $output_dir"

# create output directory if it doesn't exist
mkdir -p "$output_dir"
Expand All @@ -42,7 +42,7 @@ done

# Execute CWL workflow
. /usr/share/cwl/venv/bin/activate
cwl-runner --outdir "$output_dir" "$cwl_workflow" /tmp/job_args.json
cwl-runner --outdir "$output_dir" "$cwl_workflow" "$job_args"
deactivate

# Stop Docker engine
Expand Down

0 comments on commit 18b4b4e

Please sign in to comment.