#! /bin/sh

### Set verbose mode
test "x$VERBOSE" = "xx" && set -x

## Environnement

## Check hydrophobicity files
hyd='GES-scale GVH-scale KD-scale'
for h in $hyd; do
  /usr/bin/toppred -g none -t none -H $h -o toppred.out seq-test >/dev/null || exit 1
  grep "^Using hydrophobicity file: $h" toppred.out >/dev/null || exit 1
done

rm -f toppred.out

exit 0
