From 612d6d9a9b5158a45c059e7448238a0b64bb2962 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 24 Aug 2015 13:05:09 +0100 Subject: [PATCH] JAL-1759 removed trim() of Atom.resNumIns as not backwards compatible with saved projects (generates duplicate annotations) --- src/MCview/Atom.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 1.7.10.2