From: toshinagata1964 Date: Fri, 28 Mar 2014 05:25:57 +0000 (+0000) Subject: Xtal: bonds and angles dialog had wrong description of the symmetry operations. X-Git-Tag: v1.0.2~123 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4679fb8858f3e608dd8061ab3536ea13d54bb33e;p=molby%2FMolby.git Xtal: bonds and angles dialog had wrong description of the symmetry operations. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/molby/trunk@516 a2be9bc6-48de-4e38-9406-05402d4bc13c --- diff --git a/Scripts/crystal.rb b/Scripts/crystal.rb index 5b68054..2a94ef8 100755 --- a/Scripts/crystal.rb +++ b/Scripts/crystal.rb @@ -1079,7 +1079,7 @@ def cmd_bond_angle_with_sigma end elsif (col >= 4 && col <= 6) && (vv = values[row][col - 4]).is_a?(Integer) if (s = mol.atoms[vv].symop) != nil - v = sprintf("%d_%d%d%d", s[0], s[1] + 5, s[2] + 5, s[3] + 5) + v = sprintf("%d_%d%d%d", s[0] + 1, s[1] + 5, s[2] + 5, s[3] + 5) else v = "." end