From 99628b84c25478c64f3269dceb00fb0988ff3267 Mon Sep 17 00:00:00 2001 From: Leon Rauschning <99650940+lrauschning@users.noreply.github.com> Date: Thu, 12 Dec 2024 15:56:51 +0800 Subject: [PATCH] change to proper tail command --- .github/workflows/run_test_example.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_test_example.sh b/.github/workflows/run_test_example.sh index fc4db71..bcb18f0 100755 --- a/.github/workflows/run_test_example.sh +++ b/.github/workflows/run_test_example.sh @@ -4,7 +4,8 @@ # hacky way to hopefully alias the calls # normal alias does not seem to work in GitHub CI # necessary, as the hacky git install does not install the CLI entrypoints -#echo "python <(echo 'import syri.scripts.syri;syri.scripts.syri.main()')" > syri +#echo "#!/bin/python" > syri +#echo "import syri.scripts.syri;syri.scripts.syri.main()" >> syri #chmod +x ./syri #echo "minimap2.py" > ./minimap2 #chmod +x ./minimap2 @@ -14,6 +15,5 @@ ## run using source to preserve alias #source ./example/example_workflow.sh -$CONDA/bin/conda install -c conda-forge -c bioconda "bioconda::minimap2" -$(tail -n -1 ./example/example_workflow.sh |\ +$(tail -n +2 ./example/example_workflow.sh |\ sed -e 's/^syri/python <(echo "import syri.scripts.syri;syri.scripts.syri.main()")/' )