JAL-1140 bugfix - getDataName throws errors - prefer to use the name given by the...
[jalview.git] / src / jalview / io / RnamlFile.java
index c93201f..eb2e9a8 100644 (file)
@@ -116,7 +116,7 @@ public class RnamlFile extends AlignFile
                  int begin=0;
                  int end = seq.length()-1;
                  
-                 id = safeName(getDataName());
+                 id = current.getName();
                  seqs[i] = new Sequence(id, seq, begin, end);
                  //System.out.println(seq);
                  System.out.println("Rna is still "+rna);