Commit b080ab2e authored by Médéric Boquien's avatar Médéric Boquien

Proper variable name.

parent 6fe36662
...@@ -413,8 +413,8 @@ def chi2(config): ...@@ -413,8 +413,8 @@ def chi2(config):
""" """
input_data = read_table(config.configuration['data_file']) input_data = read_table(config.configuration['data_file'])
chi2_vars = config.configuration['analysis_params']['variables'] chi2_vars = config.configuration['analysis_params']['variables']
pdf_vars += [band for band in config.configuration['bands'] chi2_vars += [band for band in config.configuration['bands']
if band.endswith('_err') is False] if band.endswith('_err') is False]
with mp.Pool(processes=config.configuration['cores']) as pool: with mp.Pool(processes=config.configuration['cores']) as pool:
items = product(input_data['id'], chi2_vars) items = product(input_data['id'], chi2_vars)
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