15114
|
|
|
hansonr |
8 years ago
|
|
|
15113
|
|
|
hansonr |
8 years ago
|
|
|
15112
|
|
|
hansonr |
8 years ago
|
|
|
15111
|
|
|
hansonr |
8 years ago
|
|
|
15110
|
|
|
hansonr |
8 years ago
|
|
|
15109
|
|
|
hansonr |
8 years ago
|
|
|
15108
|
|
Jmol.___JmolVersion="14.3.15_2015.07.08c"
bug fix: load files "xxx.png|xxxx" "xxx.png|zzzz" not read from state properly bug fix: polyhedra not saved in state property bug fix: moving atoms with 4x4 matrix not saved in state bug fix: moving of an atom having a polyhedron fails to move the polyhedron as well
new feature: smiles2.find("SMILES",smiles1, asMap, allMappings) -- asMap = TRUE (default false) indicates you want an atom correlation map indicating positions in smiles2 corresponding to smiles1 -- allMappings = TRUE (default false) indicates you want all mappings, not just the first found -- returns a number, -1, 0, n>0 when asMap is false (allMappings ignored) -- returns int[] when allMappings is false -- returns int[][] when allMappings is true -- example: var s1 = atom1.polyhedron.getProperty("SMILES") var coords = atom2.polyhedron.getProperty("vertices") var s2 = atom2.polyhedron.getProperty("SMILES") var coords2 = atom2.polyhedron.getProperty("vertices") var map12 = s2.find("SMILES", s1, true, false) var coords2Mapped = [] for (var i in map12) coords2Mapped.push(coords2[i + 1]) coords2 = coords2Mapped var mat = compare(coords1, coords2) select {1.1} rotateselected @mat
|
hansonr |
8 years ago
|
|
|
15107
|
|
|
hansonr |
8 years ago
|
|
|
15106
|
|
Jmol.___JmolVersion="14.3.15_2015.07.08"
new feature: smiles2.find("SMILES",smiles1, asMap, allMappings) -- asMap = TRUE (default false) indicates you want an atom correlation map indicating positions in smiles2 corresponding to smiles1 -- allMappings = TRUE (default false) indicates you want all mappings, not just the first found -- returns a number, -1, 0, n>0 when asMap is false (allMappings ignored) -- returns int[] when allMappings is false -- returns int[][] when allMappings is true -- example: var s1 = atom1.polyhedron.getProperty("SMILES") var coords = atom2.polyhedron.getProperty("vertices") var s2 = atom2.polyhedron.getProperty("SMILES") var coords2 = atom2.polyhedron.getProperty("vertices") var map12 = s2.find("SMILES", s1, true, false) var coords2Mapped = [] for (var i in map12) coords2Mapped.push(coords2[i + 1]) coords2 = coords2Mapped var mat = compare(coords1, coords2) select {1.1} rotateselected @mat bug fix: moving of an atom having a polyhedron fails to move the polyhedron as well
|
hansonr |
8 years ago
|
|
|
15105
|
|
|
hansonr |
8 years ago
|
|
|
15104
|
|
|
hansonr |
8 years ago
|
|
|
15103
|
|
|
hansonr |
8 years ago
|
|
|
15102
|
|
|
hansonr |
8 years ago
|
|
|
15101
|
|
|
hansonr |
8 years ago
|
|
|
15100
|
|
|
hansonr |
8 years ago
|
|
|
15099
|
|
|
hansonr |
8 years ago
|
|
|
15098
|
|
|
hansonr |
8 years ago
|
|
|
15097
|
|
|
hansonr |
8 years ago
|
|
|
15096
|
|
|
hansonr |
8 years ago
|
|
|
15095
|
|
|
hansonr |
8 years ago
|
|
|