File tree Expand file tree Collapse file tree 1 file changed +30
-30
lines changed Expand file tree Collapse file tree 1 file changed +30
-30
lines changed Original file line number Diff line number Diff line change @@ -3,37 +3,37 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
3
3
source $SCRIPT_DIR /setup.sh
4
4
# Test are run in current directory
5
5
6
- # rm -fr T_TEST_DIR
7
- # mkdir T_TEST_DIR
6
+ rm -fr T_TEST_DIR
7
+ mkdir T_TEST_DIR
8
8
cd T_TEST_DIR
9
- # mkdir Gdal
10
- # mkdir S
11
- # echo 'channels:
12
- # - conda-forge
13
- # - bioconda
14
- # dependencies:
15
- # - python>=3.10
16
- # - snakemake
17
- # ' > env2.yml
18
- # echo '
19
- # channels:
20
- # - conda-forge
21
- # dependencies:
22
- # - python>=3.10
23
- # - gdal
24
- # ' > env.yml
25
- # echo 'rule all:
26
- # input: "out.txt"
27
- # rule ghelp:
28
- # output: "out.txt"
29
- # shell:
30
- # """
31
- # gdaladdo --help-general | grep -q "Generic GDAL utility command options" > out.txt
32
- # """
33
- # ' > Snakefile
34
- #
35
- # t_run "conda-containerize new --mamba env2.yml --prefix S" "mamba works"
36
- # t_run "conda-containerize new --mamba env.yml --prefix Gdal" "gdal installed"
9
+ mkdir Gdal
10
+ mkdir S
11
+ echo ' channels:
12
+ - conda-forge
13
+ - bioconda
14
+ dependencies:
15
+ - python>=3.10
16
+ - snakemake
17
+ ' > env2.yml
18
+ echo '
19
+ channels:
20
+ - conda-forge
21
+ dependencies:
22
+ - python>=3.10
23
+ - gdal
24
+ ' > env.yml
25
+ echo ' rule all:
26
+ input: "out.txt"
27
+ rule ghelp:
28
+ output: "out.txt"
29
+ shell:
30
+ """
31
+ gdaladdo --help-general | grep -q "Generic GDAL utility command options" > out.txt
32
+ """
33
+ ' > Snakefile
34
+
35
+ t_run " conda-containerize new --mamba env2.yml --prefix S" " mamba works"
36
+ t_run " conda-containerize new --mamba env.yml --prefix Gdal" " gdal installed"
37
37
export OPATH=$PATH
38
38
export PATH=$PWD /Gdal/bin:$PATH
39
39
export PATH=$PWD /S/bin:$PATH
You can’t perform that action at this time.
0 commit comments