File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,15 @@ if [[ -z $INPUT || -z $OUTPUT || -z $CONF ]]; then
127
127
fi
128
128
129
129
130
+ # # check if ice is in the PATH
131
+ if [[ $MAKE_OPTS == " " || $MAKE_OPTS =~ " ice_norm" ]]; then
132
+ which ice > /dev/null
133
+ if [ $? != " 0" ]; then
134
+ echo -e " Error: The 'ice' command is not in your path. Please check where the 'iced' python package has been installed and update your PATH !"
135
+ exit 1;
136
+ fi
137
+ fi
138
+
130
139
# ####################
131
140
# # Check Config file
132
141
# ####################
@@ -181,14 +190,6 @@ if [[ ! -z $ALLELE_SPECIFIC_SNP && ! -r $ALLELE_SPECIFIC_SNP ]]; then
181
190
die " ALLELE_SPECIFIC_SNP $ALLELE_SPECIFIC_SNP not found. Exit"
182
191
fi
183
192
184
- # # check if ice is in the PATH
185
- if [[ $MAKE_OPTS =~ " ice_norm" ]]; then
186
- which ice > /dev/null;
187
- if [ $? != " 0" ]; then
188
- echo -e " The 'ice' command is not in your path. Please check where the 'iced' python package has been installed and update your PATH !"
189
- exit 1;
190
- fi
191
- fi
192
193
# ####################
193
194
# # Check step option
194
195
# ####################
You can’t perform that action at this time.
0 commit comments