final AlignmentPanel alignPanel, final SequenceI[] sequences)
{
final StructureViewer sViewer = new StructureViewer(ssm);
+
+ new jalview.ws.DBRefFetcher(sequences, null, null, null, false)
+ .fetchDBRefs(true);
new Thread(new Runnable()
{
@Override
ArrayList<SequenceI[]> seqsMap = new ArrayList<SequenceI[]>();
for (SequenceI seq : sequences)
{
- new jalview.ws.DBRefFetcher(new SequenceI[] { seq }, null,
- null, null, false).fetchDBRefs(true);
seqsMap.add(new SequenceI[] { seq });
}
SequenceI[][] collatedSeqs = seqsMap.toArray(new SequenceI[0][0]);
else
{
DBRefEntry[] dbRefs = seq.getDBRefs();
- // if (dbRefs == null || dbRefs.length < 1)
- // {
- // // final SequenceI[] seqs = new SequenceI[] { seq };
- // // new jalview.ws.DBRefFetcher(seqs, null, null, null, false)
- // // .fetchDBRefs(true);
- // dbRefs = seq.getDBRefs();
- // }
-
if (dbRefs == null || dbRefs.length < 1)
{
throw new SiftsException("Could not get source DB Ref");