Skip to content

Commit 7b62a81

Browse files
committed
[fixup] quick install
1 parent e64b029 commit 7b62a81

4 files changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/tutorials.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
# run: ./convert.sh --branch *_install.md
6161
run: |
6262
mkdir -p _test_tutorials
63+
./convert.sh --version --branch --sralog --patch_only documentation/*.md tutorials/*.md
6364
python extract_bash_code.py -o _test_tutorials documentation/*.md tutorials/*.md
6465
cd _test_tutorials
6566
bash installation.sh

docs/convert.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22

3+
patch_only=0
34
patch_branch=0
45
version=0
56
patch_sralog=0
@@ -17,6 +18,9 @@ while [[ -n $1 ]]; do
1718
--sralog|sralog)
1819
patch_sralog=1
1920
;;
21+
--patch-only|--patchonly|patchonly|patch-only)
22+
patch_only=1
23+
;;
2024
--dryrun|--dry-run|dryrun|dry-run)
2125
dryrun=1
2226
;;
@@ -76,6 +80,11 @@ if (( patch_sralog )); then
7680
sed -ri 's@fasterq-dump --progress.*$@\0 2> >(tee download.err.log >\&2)@g' "${alltut[@]}"
7781
fi
7882

83+
if (( patch_only )); then
84+
echo "Only patching. You can run the tutorials yourself"
85+
exit 0
86+
fi
87+
7988
execute='--execute'
8089
if (( dryrun )); then
8190
execute=''

docs/documentation/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The present tutorial will show you how to install V-pipe and the dependencies re
2525
Download the install script and run it with the following parameters:
2626

2727
```bash
28-
curl -O 'https://raw.githubusercontent.com/GeertvanGeest/V-pipe/refs/heads/gsod-rtd/utils/quick_install.sh'
28+
curl -O 'https://raw.githubusercontent.com/cbg-ethz/V-pipe/master/utils/quick_install.sh'
2929
bash quick_install.sh -p vp-analysis -w work
3030

3131
```
@@ -41,7 +41,7 @@ V-pipe uses the [Bioconda](https://bioconda.github.io/) bioinformatics software
4141

4242
```bash
4343
## not run
44-
curl -O 'https://raw.githubusercontent.com/GeertvanGeest/V-pipe/refs/heads/gsod-rtd/utils/quick_install.sh'
44+
curl -O 'https://raw.githubusercontent.com/cbg-ethz/V-pipe/master/utils/quick_install.sh'
4545
bash quick_install.sh -p vp-analysis -w work
4646
```
4747

utils/quick_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# defaults
44
PREFIX=$(pwd)
55
FORCE=
6-
REPO=https://github.com/GeertvanGeest/V-pipe.git
7-
BRANCH=gsod-rtd
6+
REPO=https://github.com/cbg-ethz/V-pipe.git
7+
BRANCH=master
88
RELEASE=
99
WORKDIR=
1010
MINIMAL=

0 commit comments

Comments
 (0)