Commit c79b3166 authored by BURGARELLA Denis's avatar BURGARELLA Denis

Error in managing redshifts for the pdf_analysis mode

parent dcfca323
......@@ -142,7 +142,7 @@ class PdfAnalysis(AnalysisModule):
n_obs = len(obs_table)
w_redshifting = creation_modules.index('redshifting')
if creation_modules_params[w_redshifting]['redshift'] == ['']:
if list(creation_modules_params[w_redshifting]['redshift']) == ['']:
z = np.unique(np.around(obs_table['redshift'],
decimals=REDSHIFT_DECIMALS))
creation_modules_params[w_redshifting]['redshift'] = z
......
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