From c560f35750c96eb1ee4e0e18adf581788ac00ad5 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 4 Nov 2008 15:56:26 +0000 Subject: [PATCH] fix for recovery of dna/protein sequence mappings in jar file (mantis bug id 40124) --- src/jalview/gui/Jalview2XML.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index f54383e..88bb5f2 100755 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -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); -- 1.7.10.2