From d080426091b85f0709da57ad44248ea77e417f51 Mon Sep 17 00:00:00 2001 From: Mark Williams Date: Wed, 6 Nov 2024 15:22:39 +0000 Subject: [PATCH] LIMS-1529: Fix fast ep model viewer --- api/scripts/mtz2map.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/api/scripts/mtz2map.sh b/api/scripts/mtz2map.sh index 00542447d..1d25a72a4 100755 --- a/api/scripts/mtz2map.sh +++ b/api/scripts/mtz2map.sh @@ -14,6 +14,14 @@ else fi fi +#export CCP4_MASTER=/dls_sw/apps/ccp4/ +export CCP4_MASTER=$5 +export CINCL=$CCP4_MASTER/include +export CLIBD=$CCP4_MASTER/lib/data + +export CCP4_SCR=/tmp +export root=$CCP4_MASTER/bin + if [ $3 == 'dimple' -o $3 == 'mrbump' ]; then if [ -f $4 ]; then @@ -28,14 +36,6 @@ else fi fi -#export CCP4_MASTER=/dls_sw/apps/ccp4/ -export CCP4_MASTER=$5 -export CINCL=$CCP4_MASTER/include -export CLIBD=$CCP4_MASTER/lib/data - -export CCP4_SCR=/tmp -export root=$CCP4_MASTER/bin - if [ $3 == 'dimple' ]; then if $root/mtzinfo $mtz | grep -q PH2FOFCWT; then