From 4314e53ec6134b03f48578bf3e78d1bd7eaec6a9 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 20 Jan 2023 17:50:53 +0000 Subject: [PATCH] =?utf8?q?JAL-4114=20additional=20warnings=20when=20PDBe=20d?= =?utf8?q?oesn=E2=80=99t=20return=20as=20many=20responses=20as=20queries=20m?= =?utf8?q?ade=20to=20it=20when=20adding=20in=20additional=20metadata?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../gui/structurechooser/ThreeDBStructureChooserQuerySource.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jalview/gui/structurechooser/ThreeDBStructureChooserQuerySource.java b/src/jalview/gui/structurechooser/ThreeDBStructureChooserQuerySource.java index 8b4258f..28c41e9 100644 --- a/src/jalview/gui/structurechooser/ThreeDBStructureChooserQuerySource.java +++ b/src/jalview/gui/structurechooser/ThreeDBStructureChooserQuerySource.java @@ -546,6 +546,11 @@ public class ThreeDBStructureChooserQuerySource try { resultList = pdbquery.executePDBFTSRestRequest(pdbRequest); + if (resultList.getNumberOfItemsFound() == 0) + { + Console.info("Unexpectedly returned no results for pdbe query: " + + pdb_Query); + } results.add(resultList); lastPdbRequest = pdbRequest; } catch (Exception ex) -- 1.7.10.2