From 66270dda280788c15956c7a0485f0b9adf03c62a Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 20 Jan 2023 17:49:38 +0000 Subject: [PATCH] JAL-4114 patch REST client for changed JSON schema in 3D beacons v2 API --- src/jalview/fts/service/threedbeacons/TDBeaconsFTSRestClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/fts/service/threedbeacons/TDBeaconsFTSRestClient.java b/src/jalview/fts/service/threedbeacons/TDBeaconsFTSRestClient.java index b686c95..d7f534e 100644 --- a/src/jalview/fts/service/threedbeacons/TDBeaconsFTSRestClient.java +++ b/src/jalview/fts/service/threedbeacons/TDBeaconsFTSRestClient.java @@ -262,7 +262,8 @@ public class TDBeaconsFTSRestClient extends FTSRestClient summaryRowData[0] = associatedSequence; colCounter = 1; } - + Map tdbJsonStructure = (Map) tdbJsonStructureSummary + .get("summary"); for (FTSDataColumnI field : displayFields) { String fieldData = (tdbJsonStructure.get(field.getCode()) == null) -- 1.7.10.2