From 71c8853e9cfb9bedc9710328f910a976930d828a Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 8 Jun 2016 01:20:42 +0800 Subject: fit_nfwmass.sh: only support "wang2012" model --- mass_profile/fit_nfwmass.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'mass_profile') diff --git a/mass_profile/fit_nfwmass.sh b/mass_profile/fit_nfwmass.sh index db2ee9c..7cab66a 100755 --- a/mass_profile/fit_nfwmass.sh +++ b/mass_profile/fit_nfwmass.sh @@ -117,15 +117,8 @@ else fi # }}} -# determine which temperature profile to be used, and fit the T profile {{{ -if [ "X${t_profile_type}" = "Xzyy" ] || \ - [ "X${t_profile_type}" = "Xwang2012" ] || \ - [ "X${t_profile_type}" = "Xzzl" ]; then - : -elif [ "X${t_profile_type}" = "Xm0603246" ] || \ - [ "X${t_profile_type}" = "Xallen" ]; then - t_param_file="" -else +# only 'wang2012' model supported {{{ +if [ "X${t_profile_type}" != "Xwang2012" ]; then printf "ERROR: invalid temperature profile model: \`${t_profile_type}'!\n" exit 10 fi -- cgit v1.2.2