// ignore anything outside the sequence region
for (FTSData row : collectedResults)
{
- if (row.getSummaryData() != null && row.getSummaryData()[idx_ups]!=null)
+ if (row.getSummaryData() != null
+ && row.getSummaryData()[idx_ups] != null)
{
int up_s = (Integer) row.getSummaryData()[idx_ups];
int up_e = (Integer) row.getSummaryData()[idx_upe];
protected int appendDbRefs(final StringBuilder sb, SequenceI ds,
boolean summary)
{
- List<DBRefEntry> dbrefs,dbrefset = ds.getDBRefs();
+ List<DBRefEntry> dbrefs, dbrefset = ds.getDBRefs();
if (dbrefset == null)
{
// PATCH for JAL-3980 defensive copy
dbrefs = new ArrayList<DBRefEntry>();
-
+
dbrefs.addAll(dbrefset);
-
+
// note this sorts the refs held on the sequence!
dbrefs.sort(comparator);
boolean ellipsis = false;
new String[]
{ readJsonStringFromFile(
"test/jalview/fts/threedbeacons/p01308_pdbfts_query.txt")
- .trim(),
+ .trim(),
readJsonStringFromFile(
"test/jalview/fts/threedbeacons/p01308_pdbfts_resp.txt")
- .trim() });
+ .trim() });
for (int i = 1; i < 5; i++)
{
mocks.add(
new String[]
{ readJsonStringFromFile(
"test/jalview/fts/threedbeacons/p0dtd1_pdbfts_fts_query_pt"
- + i + ".txt")
- .trim(),
+ + i + ".txt").trim(),
readJsonStringFromFile(
"test/jalview/fts/threedbeacons/p0dtd1_pdbfts_fts_query_pt"
- + i + "_resp.txt")
- .trim() });
+ + i + "_resp.txt").trim() });
}
} catch (Throwable e)
{
}
@SuppressWarnings("deprecation")
- @Test(groups =
- { "Functional" })
+ @Test(groups = { "Functional" })
public void buildPDBQueryTest()
{
System.out.println("seq >>>> " + seq);
}
@SuppressWarnings("deprecation")
- @Test(groups =
- { "Functional" })
+ @Test(groups = { "Functional" })
public void buildThreeDBQueryTest()
{
System.out.println("seq >>>> " + upSeq);