JAL-1668 Tab for summary config, auto refresh after config and table column sorting
[jalview.git] / src / jalview / ws / uimodel / PDBRestResponse.java
index 7f570a4..3b5b05c 100644 (file)
@@ -109,6 +109,7 @@ public class PDBRestResponse
       tableModel.addRow(res.getSummaryData()); // Populate table rows with
                                                // summary list
     }
+
     return tableModel;
   }
 
@@ -144,8 +145,7 @@ public class PDBRestResponse
         String fieldData = (pdbJsonDoc.get(field.getCode()) == null) ? ""
                 : pdbJsonDoc
                 .get(field.getCode()).toString();
-        if (field.equals(PDBDocField.PDB_ID)
-                && pdbJsonDoc.get(PDBDocField.PDB_ID.getCode()) != null)
+        if (field.equals(PDBDocField.PDB_ID))
         {
           this.pdbId = fieldData;
           summaryRowData[colCounter++] = this.pdbId;