From 922071f3819cc00a6e7bd784d8644c2778c76f43 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 11 Apr 2016 16:14:32 +0800 Subject: scripts/ciao_img_rotcrop.sh: fix CCD sizes --- scripts/ciao_img_rotcrop.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/ciao_img_rotcrop.sh') diff --git a/scripts/ciao_img_rotcrop.sh b/scripts/ciao_img_rotcrop.sh index 456b35a..afc218e 100755 --- a/scripts/ciao_img_rotcrop.sh +++ b/scripts/ciao_img_rotcrop.sh @@ -63,12 +63,12 @@ punlearn dmkeypar DETNAM=`dmkeypar ${TMP_ROT_IMG} DETNAM echo=yes` if echo "${DETNAM}" | \grep -q 'ACIS-0123'; then printf "## \`DETNAM' (${DETNAM}) has chips 0123 => ACIS-I\n" - WIDTH=${WIDTH_ACIS_S} - HEIGHT=${HEIGHT_ACIS_S} -elif echo "${DETNAM}" | \grep -q 'ACIS-[0-6]*7'; then - printf "## \`DETNAM' (${DETNAM}) has chip 7 => ACIS-S\n" WIDTH=${WIDTH_ACIS_I} HEIGHT=${HEIGHT_ACIS_I} +elif echo "${DETNAM}" | \grep -q 'ACIS-[0-6]*7'; then + printf "## \`DETNAM' (${DETNAM}) has chip 7 => ACIS-S\n" + WIDTH=${WIDTH_ACIS_S} + HEIGHT=${HEIGHT_ACIS_S} else printf "ERROR: unknown detector type: ${DETNAM}\n" exit 11 -- cgit v1.2.2