From: gmungoc Date: Mon, 24 Aug 2015 12:05:09 +0000 (+0100) Subject: JAL-1759 removed trim() of Atom.resNumIns as not backwards compatible X-Git-Tag: Jalview_2_9~10^2~31 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=612d6d9a9b5158a45c059e7448238a0b64bb2962;p=jalview.git JAL-1759 removed trim() of Atom.resNumIns as not backwards compatible with saved projects (generates duplicate annotations) --- diff --git a/src/MCview/Atom.java b/src/MCview/Atom.java index 4d000af..894984a 100755 --- a/src/MCview/Atom.java +++ b/src/MCview/Atom.java @@ -77,7 +77,7 @@ public class Atom chain = str.substring(21, 22); resNumber = Integer.parseInt(str.substring(22, 26).trim()); - resNumIns = str.substring(22, 27).trim(); + resNumIns = str.substring(22, 27); insCode = str.substring(26, 27).charAt(0); this.x = (new Float(str.substring(30, 38).trim()).floatValue()); this.y = (new Float(str.substring(38, 46).trim()).floatValue());