diff options
Diffstat (limited to 'bin/fit_mass.sh')
-rwxr-xr-x | bin/fit_mass.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fit_mass.sh b/bin/fit_mass.sh index f349f24..8df5966 100755 --- a/bin/fit_mass.sh +++ b/bin/fit_mass.sh @@ -71,7 +71,7 @@ sbp_data=`grep '^sbp_data' ${sbp_cfg} | awk '{ print $2 }'` tprofile=`grep '^tprofile' ${sbp_cfg} | awk '{ print $2 }'` cfunc_profile=`grep '^cfunc_profile' ${sbp_cfg} | awk '{ print $2 }'` z=`grep '^z' ${sbp_cfg} | awk '{ print $2 }'` -cm_per_pixel=`cosmo_calc ${z} | grep 'cm/pixel' | awk -F':' '{ print $2 }'` +cm_per_pixel=`cosmo_calc.py -b --cm-per-pixel ${z}` sed -i'' "s/^cm_per_pixel.*$/cm_per_pixel ${cm_per_pixel}/" ${sbp_cfg} if grep -q '^beta2' $sbp_cfg; then |