int typeColumnIndex = restable.getColumn("Provider").getModelIndex();
int humanUrl = restable.getColumn("Page URL").getModelIndex();
int modelformat = restable.getColumn("Model Format").getModelIndex();
+ int tftype = restable.getColumn("Confidence Score Type").getModelIndex();
+ int tftypev = restable.getColumn("Confidence Score Version").getModelIndex();
+
final int up_start_idx = restable.getColumn("Uniprot Start")
.getModelIndex();
final int up_end_idx = restable.getColumn("Uniprot End")
String modelPage = humanUrl < 1 ? null
: (String) restable.getValueAt(row, humanUrl);
String strucFormat = restable.getValueAt(row, modelformat).toString();
-
+ String strucTfType = tftype<1 ? null : restable.getValueAt(row, tftype)==null ? null : restable.getValueAt(row, tftype).toString();
+ String strucTfType_v = tftypev<1 ? null : restable.getValueAt(row, tftypev)==null ? null : restable.getValueAt(row, tftypev).toString();
SequenceI selectedSeq = (SequenceI) restable.getValueAt(row,
refSeqColIndex);
selectedSeqsToView.add(selectedSeq);
{
pdbEntry.setProviderPage(modelPage);
}
+ try
+ {
+ if (strucTfType!=null && "".equals(strucTfType)) {
+ pdbEntry.setTempFacType(strucTfType);
+ }
+ if (strucTfType_v!=null && "".equals(strucTfType_v)) {
+ pdbEntry.setTempFacTypeVersion(strucTfType_v);
+ }
+ } catch (Exception q)
+ {
+ Console.warn("Unknown filetype for 3D Beacons Model from: "
+ + strucFormat + " - " + pdbIdStr + " - " + modelPage);
+ }
+
selectedSeq.getDatasetSequence().addPDBId(pdbEntry);
}
pdbEntriesToView[count++] = pdbEntry;