-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1d6e0c
commit c2338b8
Showing
1 changed file
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# alias to a call launching the syri entrypoint from python | ||
|
||
# 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 | ||
alias syri="python <(echo 'import syri.scripts.syri;syri.scripts.syri.main()')" | ||
alias minimap2="python <(echo 'import syri.scripts.syri;syri.scripts.syri.main()')" | ||
python <(echo "import syri.scripts.syri;syri.scripts.syri.main()") --version | ||
echo "#!/bin/bash python <(echo 'import syri.scripts.syri;syri.scripts.syri.main()')" > syri | ||
chmod +x ./syri | ||
echo "minimap2.py" > ./minimap2 | ||
chmod +x ./minimap2 | ||
PATH=$PATH:./ | ||
syri --version | ||
minimap2 --version | ||
minimap2.py | ||
minimap2 | ||
# run using source to preserve alias | ||
source ./example/example_workflow.sh |