import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
-import java.util.IdentityHashMap;
import java.util.List;
import org.testng.Assert;
: new CrossRef(seqs, dataset)
.findXrefSourcesForSequences(dna);
- /*
- * map between a view, and views generated after retrieving xrefs
- */
- IdentityHashMap<AlignmentViewPanel, List<AlignmentViewPanel>> viewxrefview = new IdentityHashMap<AlignmentViewPanel, List<AlignmentViewPanel>>();
- /*
- * map between a particular view and it's originating dbref path
- */
- IdentityHashMap<AlignmentViewPanel, String> viewsourcedb = new IdentityHashMap<AlignmentViewPanel, String>();
-
- viewsourcedb.put(af.alignPanel, first);
for (String db : ptypes)
{
pass2 = 0;
Assert.assertTrue(cra.getXrefViews().size() > 0,
"No crossrefs retrieved for " + db);
cra_views = cra.getXrefViews();
- viewxrefview.put(af.alignPanel, cra.getXrefViews());
}
else
{
SequenceI[] xrseqs = avp.getAlignment().getSequencesArray();
- viewsourcedb.put(avp, nextxref);
stringify(dbtoviewBit, savedProjects, nextxref, avp);
keyseq.add(nextxref);
+ "," + pass2 + "): For "
+ nextnextxref + ":");
- viewsourcedb.put(nextavp, nextnextxref);
stringify(dbtoviewBit, savedProjects, nextnextxref,
nextavp);
keyseq.add(nextnextxref);