From 1e131ab5bca8c6799d7eb9117618d8c0e3243830 Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 20 Aug 2012 16:08:22 +0100 Subject: [PATCH] JAL-1140 bugfix - getDataName throws errors - prefer to use the name given by the RNAML file --- src/jalview/io/RnamlFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/io/RnamlFile.java b/src/jalview/io/RnamlFile.java index c93201f..eb2e9a8 100644 --- a/src/jalview/io/RnamlFile.java +++ b/src/jalview/io/RnamlFile.java @@ -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); -- 1.7.10.2