aboutsummaryrefslogtreecommitdiffstats
path: root/bin/calc_coolfunc_bands.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/calc_coolfunc_bands.sh')
-rwxr-xr-xbin/calc_coolfunc_bands.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/calc_coolfunc_bands.sh b/bin/calc_coolfunc_bands.sh
index bebdce2..d400a9b 100755
--- a/bin/calc_coolfunc_bands.sh
+++ b/bin/calc_coolfunc_bands.sh
@@ -27,7 +27,7 @@ N_H=$3
REDSHIFT=$4
COOLFUNC_PREFIX=$5
BLIST=$6
-NORM=`cosmo_calc ${REDSHIFT} | grep 'norm.*cooling_function' | awk -F':' '{ print $2 }'`
+NORM=`cosmo_calc.py -b --norm-apec ${REDSHIFT}`
if [ ! -r "${TPROFILE}" ]; then
printf "ERROR: given tprofile '${TPROFILE}' NOT accessiable\n"