Skip to content

Commit

Permalink
change to proper tail command
Browse files Browse the repository at this point in the history
  • Loading branch information
lrauschning committed Dec 12, 2024
1 parent 582d111 commit 99628b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run_test_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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()")/' )

0 comments on commit 99628b8

Please sign in to comment.