takes into account fullid display
authoramwaterhouse <Andrew Waterhouse>
Thu, 17 Mar 2005 10:40:18 +0000 (10:40 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 17 Mar 2005 10:40:18 +0000 (10:40 +0000)
src/jalview/io/HTMLOutput.java

index af894e0..a6ab087 100755 (executable)
@@ -90,7 +90,11 @@ public class HTMLOutput
     {\r
       seq = alignment.getSequenceAt(i);\r
       groups = alignment.findAllGroups( seq );\r
-      out.println("<tr><td nowrap>"+seq.getDisplayId()+"&nbsp;&nbsp;</td>");\r
+      if(av.getShowFullId())\r
+        out.println("<tr><td nowrap>"+seq.getDisplayId()+"&nbsp;&nbsp;</td>");\r
+      else\r
+        out.println("<tr><td nowrap>"+seq.getName()+"&nbsp;&nbsp;</td>");\r
+\r
 \r
 \r
       for (int res = 0; res < seq.getLength(); res++)\r
@@ -172,7 +176,10 @@ public class HTMLOutput
          out.println("<tr>");\r
          seq = al.getSequenceAt(s);\r
          groups = al.findAllGroups( seq );\r
-         out.println("<td nowrap>"+seq.getDisplayId()+"&nbsp;&nbsp;</td>");\r
+         if(av.getShowFullId())\r
+           out.println("<td nowrap>"+seq.getDisplayId()+"&nbsp;&nbsp;</td>");\r
+         else\r
+           out.println("<td nowrap>"+seq.getName()+"&nbsp;&nbsp;</td>");\r
 \r
          for (int res = startRes; res < endRes; res++)\r
               {\r