def _validate_num_channels(input_filepath_list, combine_type):
channels = [<EOL>file_info.channels(f) for f in input_filepath_list<EOL>]<EOL>if not core.all_equal(channels):<EOL><INDENT>raise IOError(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>.format(combine_type)<EOL>)<EOL><DEDENT>
Check if files in input file list have the same number of channels