Skip to content

Commit

Permalink
Merge pull request #904 from Mailaender/scanchart-perf
Browse files Browse the repository at this point in the history
Improved Scan Chart performance
  • Loading branch information
eselmeister authored Feb 17, 2022
2 parents 70dd796 + b5a30dc commit 3eeaccf
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2018, 2020 Lablicate GmbH.
* Copyright (c) 2018, 2022 Lablicate GmbH.
*
* All rights reserved.
* This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -104,6 +104,9 @@ public static IProcessingInfo<IMassSpectra> convert(File file, IProgressMonitor
private static IProcessingInfo<IMassSpectra> getMassSpectra(final File file, IProgressMonitor monitor) {

IProcessingInfo<IMassSpectra> processingInfo = new ProcessingInfo<>();
if(!file.exists()) {
return processingInfo;
}
DatabaseConverterSupport converterSupport = getDatabaseConverterSupport();
try {
List<String> availableConverterIds = converterSupport.getAvailableConverterIds(file);
Expand Down

0 comments on commit 3eeaccf

Please sign in to comment.