Fix for JAL-4075 - don’t write a label in secondary structure annotation element
authorJim Procter <j.procter@dundee.ac.uk>
Fri, 7 Oct 2022 15:32:43 +0000 (16:32 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Fri, 7 Oct 2022 15:32:43 +0000 (16:32 +0100)
src/jalview/ext/jmol/JmolParser.java

index a7e30bf..661ed33 100644 (file)
@@ -442,8 +442,7 @@ public class JmolParser extends StructureFile implements JmolStatusListener
       {
         try
         {
-          asecstr[p] = new Annotation(String.valueOf(secstr[p]), null,
-                  secstrcode[p], Float.NaN);
+          asecstr[p] = new Annotation(null, null, secstrcode[p], Float.NaN);
           ssFound = true;
         } catch (Exception e)
         {