fix for recovery of dna/protein sequence mappings in jar file (mantis bug id 40124)
authorjprocter <Jim Procter>
Tue, 4 Nov 2008 15:56:26 +0000 (15:56 +0000)
committerjprocter <Jim Procter>
Tue, 4 Nov 2008 15:56:26 +0000 (15:56 +0000)
src/jalview/gui/Jalview2XML.java

index f54383e..88bb5f2 100755 (executable)
@@ -616,7 +616,7 @@ public class Jalview2XML
           for (int m = 0; m < pmaps.length; m++)
           {
             AlcodMap alcmap = new AlcodMap();
-            alcmap.setDnasq("" + dnas[m].hashCode());
+            alcmap.setDnasq("" + seqHash(dnas[m]));
             alcmap.setMapping(createVamsasMapping(pmaps[m], dnas[m], null,
                     false));
             alc.addAlcodMap(alcmap);