Check for .(m)cool file and contents

.checkCool(file)

Arguments

file

Path to .(m)cool file

Author

Sarah Parker

Value

A character string, either ".cool" or ".mcool", indicating the file type. Aborts with an error if the file is not a valid .(m)cool file.