{
String templateId = getPhyreResultTable().getValueAt(row,
templateColIndex).toString();
- String structureFile = phyre2ResultDirectory + templateId
- + ".pdb";
+ String structureFile = phyre2ResultDirectory + templateId;
pdbEntriesToView[count++] = new AssociateStructureFileWithSeq()
.associateStructureWithSeq(structureFile,
DataSourceType.FILE, selectedSequence, true,
// for getting the result directory when the job completes, this is
// currently hard-wired to the directory of result for FER_CAPAN/1-144
phyre2ResultDirectory = "examples/testdata/phyre2results/56da5616b4559c93/";
- String summaryhtml = phyre2ResultDirectory + "summary.html";
- // TODO ditch HTML parsing once appropriated data file (i.e. JSON) for
- // Phyre2 result summary is made available
+ // String summaryhtml = phyre2ResultDirectory + "summary.html";
+ // // TODO ditch HTML parsing once appropriated data file (i.e. JSON) for
+ // // Phyre2 result summary is made available
+ // List<Phyre2SummaryPojo> phyreResults = Phyre2Client
+ // .parsePhyre2ResultSummaryTable(summaryhtml);
+
+ String crudeListFile = phyre2ResultDirectory + "crudelist";
List<Phyre2SummaryPojo> phyreResults = Phyre2Client
- .parsePhyre2ResultSummaryTable(summaryhtml);
+ .parsePhyreCrudeList(crudeListFile);
+
getPhyreResultTable()
.setModel(Phyre2Client.getTableModel(phyreResults));
Phyre2Client.configurePhyreResultTable(getPhyreResultTable());