Skip to content

Commit

Permalink
[MODIF] Check if ice is in the path
Browse files Browse the repository at this point in the history
  • Loading branch information
nservant committed Mar 31, 2020
1 parent bb4f70b commit 63ead9b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion bin/HiC-Pro
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,14 @@ if [[ ! -z $ALLELE_SPECIFIC_SNP && ! -r $ALLELE_SPECIFIC_SNP ]]; then
die "ALLELE_SPECIFIC_SNP $ALLELE_SPECIFIC_SNP not found. Exit"
fi


## check if ice is in the PATH
if [[ $MAKE_OPTS =~ "ice_norm" ]]; then
which ice > /dev/null;
if [ $? != "0" ]; then
echo -e "The 'ice' command is not in your path. Please check where the 'iced' python package has been installed and update your PATH !"
exit 1;
fi
fi
#####################
## Check step option
#####################
Expand Down

0 comments on commit 63ead9b

Please sign in to comment.