Skip to content

Commit 224719d

Browse files
committed
Fix return value mismatch for empty results
1 parent 39805b7 commit 224719d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AA_stat/AA_stat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def AA_stat(params_dict, args, step=None):
331331
# logger.debug('mass_shift_data_dict: %s', mass_shift_data_dict)
332332
if not ms_stats:
333333
html.render_html_report(None, data, None, params_dict, {}, {}, {}, [], save_directory, [], step=step)
334-
return None, None, None, data, {}
334+
return None, None, None, data, {}, {}
335335

336336
reference_label, reference_mass_shift = get_zero_mass_shift(ms_stats, params_dict)
337337
if abs(reference_mass_shift) < params_dict['zero bin tolerance']:

0 commit comments

Comments
 (0)