AlignmentViewPanel rap = Desktop.getAlignmentPanels(null)[0];
SequenceI rpep = rap.getAlignment().getSequenceAt(0);
assertEquals(rpep.getName(), "P30419");
- DBRefEntry[] dbrefs = rpep.getDBRefs();
+ DBRefEntry[] dbrefs = (DBRefEntry[]) rpep.getDBRefs().toArray();
assertEquals(dbrefs.length, 3);
DBRefEntry dbRef = dbrefs[0];
assertFalse(dbRef instanceof GeneLocus);
Map<String, List<DbSourceProxy>> seen = new HashMap<>();
jalview.ws.SequenceFetcher sfetcher = new jalview.ws.SequenceFetcher();
String dupes = "";
- for (String src : sfetcher.getOrderedSupportedSources())
+ // for (String src : sfetcher.getOrderedSupportedSources())
+ for (String src : sfetcher.getNonAlignmentSources())
{
List<DbSourceProxy> seenitem = seen.get(src);
if (seenitem != null)