m2aia / m2aia

Mass spectrometry imaging applications for interactive analysis in MITK (M²aia)
https://m2aia.github.io/m2aia
BSD 3-Clause "New" or "Revised" License
20 stars 4 forks source link

Case-sensitive file extension for .imzML and .ibd files #54

Open jtfcordes opened 4 months ago

jtfcordes commented 4 months ago

We have encountered an issue where the file extensions for ImzML files vary in case sensitivity across different systems and uses. While the standard extensions are .imzML for the metadata file and .ibd for the binary data file, they are often found written in various cases such as .imzml, .IMZML, .IBD, etc. This inconsistency can lead to problems in file handling and software processing that expects specific case conventions.

Steps to Reproduce:

Load any .imzml or .IBD file using the software. Observe any errors or warnings related to file extension mismatch.

Suggested Fix:

Add a preprocessing step in the file handling logic that checks and reformats the file extensions to the desired casing before further processing.