Commit 5343ff65 authored by Guang's avatar Guang
Browse files

force redshfit decimals to int type

parent cf414ff3
......@@ -348,7 +348,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']))
else:
......
Markdown is supported
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