-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathotherjob3
executable file
·80 lines (79 loc) · 3.73 KB
/
otherjob3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/bin/bash
. /nsls2/software/mx/dials-v3-7-2/dials_env.sh
file=$1; echo "file: $file"
compression="${2}xx"
basename=${file##*/}; #echo "basename: $basename"
target=${basename%.*}; #echo "target: $target"
echo "processing $PWD $file compression: $compression"
if [ "$compression" == "lz4xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} lz4
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} lz4
fi
if [ "$compression" == "bslz4xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} bslz4
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} bslz4
fi
if [ "$compression" == "slz4xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} slz4
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} slz4
fi
if [ "$compression" == "zstd 2xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} zstd 2
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} zstd 2
fi
if [ "$compression" == "zstd 3xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} zstd 3
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} zstd 3
fi
if [ "$compression" == "zstd 4xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} zstd 4
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} zstd 4
fi
if [ "$compression" == "zstd 5xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} zstd 5
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} zstd 5
fi
if [ "$compression" == "zstd 6xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} zstd 6
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} zstd 6
fi
if [ "$compression" == "bszstd 2xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} bszstd 2
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} bszstd 2
fi
if [ "$compression" == "bszstd 3xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} bszstd 3
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} bszstd 3
fi
if [ "$compression" == "bszstd 4xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} bszstd 4
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} bszstd 4
fi
if [ "$compression" == "bszstd 5xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} bszstd 5
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} bszstd 5
fi
if [ "$compression" == "bszstd 6xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} bszstd 6
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} bszstd 6
fi
if [ "$compression" == "szstd 2xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} szstd 2
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} szstd 2
fi
if [ "$compression" == "szstd 3xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} szstd 3
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} szstd 3
fi
if [ "$compression" == "szstd 4xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} szstd 4
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} szstd 4
fi
if [ "$compression" == "szstd 5xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} szstd 5
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} szstd 5
fi
if [ "$compression" == "szstd 6xx" ] || [ "$compression" == "xx" ]; then
cctbx.python ~/bin/h5otherrecompress3.py ${target} szstd 6
echo cctbx.python ~/bin/h5otherrecompress3.py ${target} szstd 6
fi