Skip to content

Commit 4171a06

Browse files
author
Stefan S
committed
fix lowercase uppercase extensions
1 parent fc59916 commit 4171a06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MetaMorpheusGUI/MainWindow.xaml.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,11 @@ private void Window_Drop(object sender, DragEventArgs e)
291291
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
292292
foreach (var file in files)
293293
{
294-
var theExtension = Path.GetExtension(file);
294+
var theExtension = Path.GetExtension(file).ToLowerInvariant();
295295
switch (theExtension)
296296
{
297297
case ".raw":
298-
case ".mzML":
298+
case ".mzml":
299299
rawDataObservableCollection.Add(new RawData(file));
300300
break;
301301

0 commit comments

Comments
 (0)