From: Jim Procter Date: Fri, 20 Jan 2023 17:49:38 +0000 (+0000) Subject: JAL-4114 patch REST client for changed JSON schema in 3D beacons v2 API X-Git-Tag: Release_2_11_2_6~2^2~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=66270dda280788c15956c7a0485f0b9adf03c62a;p=jalview.git JAL-4114 patch REST client for changed JSON schema in 3D beacons v2 API --- 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)