In cases where binary flags are being imputed, we need to allow for imputer.gen_analysis_file() to save summaries using columns with NaN results. This occurs if a cell has no instances of a '1' binary flag in donor data.
The following error is a clue that this is happening when you run imputer.gen_analysis_file():
TypeError: NAN/INF not supported in write_number() without 'nan_inf_to_errors' Workbook() option