Commit f11b1e88 authored by Guang's avatar Guang Committed by Guang
Browse files

force redshfit decimals to int type

parent 0001cb50
......@@ -353,7 +353,7 @@ class Configuration(object):
if self.config['data_file']:
obs_table = read_table(self.config['data_file'])
if 'redshift_decimals' in self.config['analysis_params']:
decimals = self.config['analysis_params']['redshift_decimals']
decimals = int(self.config['analysis_params']['redshift_decimals'])
if decimals < 0:
z = list(np.unique(obs_table['redshift']))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment