package-local function that does the actual work of modifying file extensions.

strip_ms_file_extension_from_extensions(file_names, file_extensions)

Arguments

file_names

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

file_extensions

a character vector of extensions as generated by get_valid_ms_file_extensions.

Value

file with file extension stripped off.