Skip to content

Commit

Permalink
Don't query a DB that does not exist on this system.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Feb 17, 2022
1 parent 7c7fac6 commit b5a30dc
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 b5a30dc

Please sign in to comment.