Iterate through all valid file extensions, and remove them. If no valid extension is found, throw an error.

strip_ms_file_extension(file_names)

Arguments

file_names

list of file names. can be a mixture of types (mzML, mzXML, etc)

Value

the ms file name without extension.

Details

This function is public, disallowing overwriting of valid file_extensions.