From: jprocter Date: Mon, 28 Feb 2005 10:47:32 +0000 (+0000) Subject: added uniquify sequence id assertion. X-Git-Tag: Release_2_0~630 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=aada71a832214785ccca0b4ff3d9c6adf382b548;p=jalview.git added uniquify sequence id assertion. --- diff --git a/src/jalview/ws/Jemboss.java b/src/jalview/ws/Jemboss.java index a5205ac..7c107c7 100755 --- a/src/jalview/ws/Jemboss.java +++ b/src/jalview/ws/Jemboss.java @@ -58,6 +58,30 @@ public class Jemboss props.getEmbossEnvironmentArray()); } */ + private Hashtable uniquify(SequenceI[] sequences) { + // Generate a safely named sequence set and a hash to recover the sequence names + Hashtable map = new Hashtable(); + for (int i=0; i