wkumler / RaMS

R-based access to Mass-Spectrometry data
Other
20 stars 7 forks source link

add a filetype check BEFORE loading any files #21

Closed wkumler closed 8 months ago

wkumler commented 10 months ago

I keep getting burned by non-mzML files included in the pass to grabMSdata, but I only find out about it after I've sunk a bunch of time into extracting all the actual mzMLs first until it hits one and crashes. Two solutions for later: one, check the filetype before loading any of the files which is simple enough to do by checking the extension but might throw some false positives; or two, throw a warning that the file type isn't recognized and ignore it. Adding to the v1.4 milestone maybe?

wkumler commented 8 months ago

Completed with #24