From: jprocter Date: Mon, 20 Aug 2012 15:08:22 +0000 (+0100) Subject: JAL-1140 bugfix - getDataName throws errors - prefer to use the name given by the... X-Git-Tag: Jalview_2_9~265^2~36 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1e131ab5bca8c6799d7eb9117618d8c0e3243830;p=jalview.git JAL-1140 bugfix - getDataName throws errors - prefer to use the name given by the RNAML file --- 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);