1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562
|
# Release_2025.03.6
(Changes relative to Release_2025.03.5)
## Acknowledgements
(Note: I'm no longer attempting to manually curate names. If you would like to
see your contribution acknowledged with your name, please set your name in
GitHub)
Jakub Adamczyk, Michael Cho, David Cosgrove, Hussein Faara, Tad Hurst, Eisuke
Kawashima, Brian Kelley, Yakov Pechersky, Pat Riley, Ricardo Rodriguez, Paolo
Tosco, jdavies-nurix, badisa
## New Features and Enhancements:
- Expose CDX support to FileParsers and ChemDraw to SWIG
(github pull #8681 from bp-kelley)
- Add the useRingTemplates option to generateDepictionMatching2DStructure
(github pull #8688 from ricrogz)
## Documentation:
- rdkit.Chem.BRICS.BRICSBuild misses docstring
(github issue #7215 from e-kwsm)
- Fix documentation errors for rdShapeAlign
(github pull #8685 from badisa)
- document the way the 2D/3D flag in ctabs is handled
(github pull #8722 from greglandrum)
- Update documentation for rdShapeAlign.AlignMol opt_param
(github pull #8724 from priley-vv)
## Bug Fixes:
- GETAWAY descriptors seem nondeterministic
(github issue #7264 from j-adamczyk)
- Reading molecule from block gives None with no warning -- likely due to Cannot normalize a zero length vector in atropisomer code
(github issue #8602 from pechersky)
- RegistrationHash produces 2 separate hashes for 2636640-50-9 depending on input
(github issue #8654 from jdavies-nurix)
- Incorrect canonicalization when generating CXSMILES without enhanced stereo
(github issue #8655 from greglandrum)
- Incorrect MolHash when generating CXSMILES without enhanced stereo
(github issue #8656 from greglandrum)
- Fix parse error messages for bad characters
(github pull #8675 from whosayn)
- DrawMoleculeWithHighlights doesn't use SetOffset
(github issue #8679 from DavidACosgrove)
- Fix build with Boost 1.89.0
(github pull #8694 from cho-m)
- Fix drawing of very short arcs in lasso.
(github pull #8706 from DavidACosgrove)
- rdMolTransforms.CanonicalizeConformer inverts structure
(github issue #8720 from DavidACosgrove)
- Two small MinimalLib RGD bug fixes
(github pull #8729 from ptosco)
- Fixes a bug with bad H positions in output conformer
(github pull #8731 from greglandrum)
- patch a memory allocation problem in the pubchem shape code
(github pull #8733 from greglandrum)
# Release_2025.03.5
(Changes relative to Release_2025.03.4)
## Acknowledgements
(Note: I'm no longer attempting to manually curate names. If you would like to
see your contribution acknowledged with your name, please set your name in
GitHub)
Brian Cole, David Cosgrove, Maria Dolotova, Hussein Faara, Tad Hurst, Brian
Kelley, Patrick Kunzmann, Paolo Tosco, Ricardo Rodriguez, Saul, dehaenw
paconius,
## New Features and Enhancements:
- support clearPropertyCache() on ROMol and Atom (NOTE: This was in the release notes for Release_2025.03.3, but was not included in the release)
(github issue #8241 from greglandrum)
- Expose reading/writing PNG metadata to CFFI and MinimalLib
(github pull #8381 from ptosco)
- Add option to draw all CIP codes in DrawMol.cpp
(github pull #8609 from paconius)
- Update SMARTS parsing syntax error to include bad token position
(github issue #8612 from whosayn)
- ChemDraw Document and read/write support for the RDKit
(github pull #8620 from bp-kelley)
## Documentation:
- `rdRascalMCES` module missing from Python API reference
(github issue #8524 from padix-key)
## Bug Fixes:
- RDKit minilib loses stereochemistry when breaking molecules to fragments
(github issue #8569 from MariaDolotova)
- MolFromSmiles loses the information of "atom map number" property if cxsmiles is used
(github issue #8586 from saultorre1995)
- fix mrv parsing for Rgroups to make smiles work
(github pull #8617 from tadhurst-cdd)
- Scsr sgroup error
(github pull #8623 from tadhurst-cdd)
- `ResonanceMolSupplier` raises an error if `Mol` has no bonds
(github issue #8638 from padix-key)
- Mem fixes
(github pull #8640 from ricrogz)
- RascalMCES rapidly fills up memory on rdkit 2025.03 but not rdkit 2024.09
(github issue #8645 from dehaenw)
- Enhanced stereo synthons break SynthonSpace.ReadTextFile
(github issue #8650 from coleb)
## Cleanup work:
- Switch a bunch of C++ tests to use catch2
(github pull #8625 from greglandrum)
# Release_2025.03.4
(Changes relative to Release_2025.03.3)
## Acknowledgements
(Note: I'm no longer attempting to manually curate names. If you would like to
see your contribution acknowledged with your name, please set your name in
GitHub)
Michael Blakey, David Cosgrove, Andrew Dalke, Tad Hurst, Brian Kelley, Mark
Mackey, Ricardo Rodriguez, Caleb Thomas, Paolo Tosco, ndickson-nvidia,
jasondbiggs, paconius
## New Features and Enhancements:
- Bump maeparser to 1.3.3 (fixes #8525)
(github pull #8580 from ricrogz)
- Cpp enumerate stereoisomers
(github pull #8563 from DavidACosgrove)
- CIP labeler: attempt to resolve "easy" stereo centers first
(github pull #8582 from ricrogz)
- Allow creation of bond-only stereogroups from Python
(github issue #8584 from paconius)
- Make assignCIPLabels Ctrl+c interruptable
(github pull #8589 from ricrogz)
- Expose the onlyWedgeFlags parameter to SWIG ClearSingleBondDirFlags
(github pull #8600 from ptosco)
## Documentation:
- MolFromHELM() supports RNA/DNA too
(github issue #3087 from adalke)
## Bug Fixes:
- Multithreaded mol reader can hang when not iterating through the whole file
(github issue #8284 from bp-kelley)
- MolFromSmiles and MolFromSmarts accept strings containing invalid characters if they start with a valid character
(github issue #8471 from jasondbiggs)
- Issue reading .mae files
(github issue #8525 from mark-mackey-cresset)
- allow nested parentheses in tokens #8553
(github pull #8553 from tadhurst-cdd)
- Segmentation fault in AllChem.EmbedMolecule()
(github issue #8559 from calebthomas259)
- Fixes the problems with wiggly bonds and EnumerateStereoisomers from #8506
(github pull #8598 from greglandrum)
- Fixed out of bounds vector access in GetGeodesicMatrix
(github pull #8601 from ndickson-nvidia)
## Cleanup work:
- Small cleanups of the xyz2mol code
(github pull #8567 from greglandrum)
- Small cleanups of the MMFF94 code
(github pull #8593 from greglandrum)
# Release_2025.03.3
(Changes relative to Release_2025.03.2)
## Acknowledgements
(Note: I'm no longer attempting to manually curate names. If you would like to
see your contribution acknowledged with your name, please set your name in
GitHub)
David Cosgrove, Genevieve Evans, Tad Hurst, Kevin Keating, Brian Kelley, Jakub
Klinkovský, Niels Maeder, Jeremy Monat, Yakov Pechersky, Ricardo Rodriguez, Paul
Thiessen, Yi-Shu Tu, Paolo Tosco, Inwan Yoo, paconius, jdavies-nurix,
InvincibleZZH, Forrest, rwalroth
## New Features and Enhancements:
- Add SCSR parsing to RDKit
(github pull #8147 from tadhurst-cdd)
- support clearPropertyCache() on ROMol and Atom
(github issue #8241 from greglandrum)
- Change default ETversion.
(github pull #8414 from DavidACosgrove)
- ShapeInput from subset of atoms in molecule
(github pull #8449 from DavidACosgrove)
- Method to remove enhanced stereo from an atom
(github issue #8467 from jdavies-nurix)
- Add Synthon space hit filters
(github pull #8473 from DavidACosgrove)
- Set default Eigen3 version to 3.4.0
(github pull #8477 from pechersky)
- A couple optimizations to when the ring finding code is called
(github pull #8482 from greglandrum)
- Allow single/double bonds to match aromatic in substructure search
(github issue #8485 from PaulThiessen)
- improve operator<< for stereogroups
(github pull #8489 from greglandrum)
- Print the version of InChI software being supported in RDKIt
(github issue #8508 from glevans)
- Explain DrawArrow and rawCoords=True
(github pull #8517 from bertiewooster)
- add support for allene- and cumulene-like structures to KDG
(github pull #8518 from greglandrum)
- allow limiting the number of stereo groups to process
(github pull #8541 from tadhurst-cdd)
- Replace incorrect Freetype cmake flags with correct ones
(github pull #8543 from ptosco)
- Add missing default values to docker-compose configuration
(github pull #8544 from ptosco)
- Avoid a large number of warnings when building MinimalLib with emscripten
(github pull #8545 from ptosco)
- Add a "time out" to determineBondOrders
(github pull #8548 from ricrogz)
- rdkit-targets.cmake now uses cmake package names for external libraries instead of absolute paths
(github pull #8552 from KevKeating)
- Support Ctrl+C in determineBondOrders
(github pull #8557 from ricrogz)
## Documentation:
- Add documentation for SynthonSpaceSearch.
(github pull #8293 from DavidACosgrove)
- Clarify Docstring of molzip when called with a Single mol object
(github pull #8470 from badisa)
## Bug Fixes:
- GetAtomConjGrpIdx documentation indicates it returns a signed int, but actually returns unsigned int
(github issue #7112 from rwalroth)
- Chem.MolToSmiles: rootedAtAtom option not working properly with multiple fragments
(github issue #8327 from iwyoo)
- Inconsistent SMARTS representation for stereochemical aromatic bonds
(github issue #8424 from iwyoo)
- MolToJSON doesn't handle atropisomers
(github issue #8460 from paconius)
- Postgres Cartridge Equality Shouldn't use coordinates
(github issue #8465 from paconius)
- Build failure with GCC 15
(github issue #8491 from lahwaacz)
- TautomerQuery drops queries for some atoms
(github issue #8492 from ricrogz)
- rdkit/rdkit/Chem/Features /ShowFeats.py TypeError: not all arguments converted during string formatting
(github issue #8501 from InvincibleZZH)
- Synthon space substructure search failing for simple search
(github issue #8502 from greglandrum)
- Fix arrowhead8500
(github pull #8504 from DavidACosgrove)
- Invalid read in moldraw2DTestCatch
(github issue #8520 from ricrogz)
- Chem.GetMolFrags Destroys Stereogroups containing only bonds
(github issue #8527 from paconius)
- Fix ETKDG double bond check from #8518
(github pull #8528 from nmaeder)
- SynthonSpaceSearch bad chiral atom count
(github issue #8554 from DavidACosgrove)
- Explicitly wrap raw pointer into emscripten::val object with allow_raw_pointers() policy
(github pull #8555 from ptosco)
## Cleanup work:
- Consolidate MinimalLib Dockerfiles to avoid code duplication
(github pull #8412 from ptosco)
- Modernization of some substructure code
(github pull #8450 from greglandrum)
- A few mem fixes in tests
(github pull #8521 from ricrogz)
- Fix irritating warning when DrawMolMCHLasso compiled.
(github pull #8540 from DavidACosgrove)
# Release_2025.03.2
(Changes relative to Release_2025.03.1)
## Acknowledgements
(Note: I'm no longer attempting to manually curate names. If you would like to
see your contribution acknowledged with your name, please set your name in
GitHub)
Filip Chmielewski, David Cosgrove, Brian Kelley, Niels Maeder, Dan
Nealschneider, Axel Pahl, Lauren Reid, Ricardo Rodriguez, Paolo Tosco, stewu5,
yuri@FreeBSD
## Backwards incompatible changes:
- atom maps on dummy atoms are now always used in the calculation of canonical
atom ranks.
- 2D coordinate generation may produce different results for some molecules due
to a change in the way the atom ordering is computed in the depiction code.
## New Features and Enhancements:
- switch to C++20
(github pull #8039 from greglandrum)
- Speed up GetProp Python keyerrors
(github pull #8372 from d-b-w)
- add property to indicate when a CIP calculation has been done
(github issue #8396 from greglandrum)
- Bump MaeParser version to 1.3.2
(github pull #8404 from ptosco)
- Moving towards getting all tests to pass when using the new stereo code
(github pull #8409 from greglandrum)
- Enable the chiral flag on enumerated isomers
(github pull #8410 from ricrogz)
- Support pickling Shape inputs
(github pull #8434 from DavidACosgrove)
- add function to overwrite __setattr__ to only accept valid arguments
(github pull #8448 from nmaeder)
- add StereoGroup.getBonds() to Python wrapper
(github pull #8451 from greglandrum)
- add quick H-H bond removal to connectTheDots
(github pull #8452 from greglandrum)
- Protect Python DrawOptions from bad attributes.
(github pull #8453 from DavidACosgrove)
- Add a custom CXSMILES feature to indicate Zero Order Bonds
(github pull #8454 from ricrogz)
- Add the safeSetattr to the rdMolFiles param objects
(github pull #8457 from nmaeder)
## Bug Fixes:
- MHFP package error: all Bulk functions fail to execute in Python
(github issue #3102 from stewu5)
- Possible Off-by-One Bug in the ERG Implementation
(github issue #8201 from apahl)
- order dependence in tautomer hash
(github issue #8205 from greglandrum)
- Missing bonds in MCES when singleLargestFrag = True
(github issue #8360 from laurenreid1)
- RWMol::insertMol does not update _ringStereoOtherAtom
(github issue #8379 from greglandrum)
- Fix SynthonSpace build when RDK_USE_BOOST_SERIALIZATION is not defined
(github pull #8380 from ptosco)
- add correct export to SynthonSpace.h
(github pull #8399 from greglandrum)
- Do not free sslib until patternFpArray is still needed by the test
(github pull #8407 from ptosco)
- Avoid a segfault in CoordGen when a double bond has stereo spec but no stereo atoms
(github pull #8415 from ptosco)
- Overwrite end of array in PubChemShape.cpp
(github issue #8416 from DavidACosgrove)
- PR #8366 triggers range errors on imines with new stereo perception
(github issue #8420 from ricrogz)
- update_pains.py script does not check for pains_c.in file existence
(github issue #8430 from IridiumOxide)
- fix a logic error in needsHs
(github pull #8442 from greglandrum)
- Pubchem Shape: make sure cutoff is set
(github pull #8446 from DavidACosgrove)
- In pubchem-shape, overlaying onto a shape does an incorrect final translation
(github issue #8462 from DavidACosgrove)
## Cleanup work:
- find_package(better_enums) can never find better_enums
(github issue #8438 from yurivict)
# Release_2025.03.1
(Changes relative to Release_2024.09.1)
## Acknowledgements
(Note: I'm no longer attempting to manually curate names. If you would like to
see your contribution acknowledged with your name, please set your name in
GitHub)
Andrey Alekseenko, Marco Ballarotto, Chris Von Bargen, Kevin Boyd, Jessica
Braun, Christopher Brown, Martin Buttenschoen, Rubén Chaves, Michael Cho David
Cosgrove, Oleksii Dukhno, Hussein Faara, Jozef Fulop, Richard Gowers, Tad Hurst,
Gareth Jones, Eisuke Kawashima, Brian Kelley, Radics Laszlo, Zhen(Jack) Liu,
Niels Maeder, John Mayfield, Jeremy Monat, Dan Nealschneider, Jan Oboril, Yakov
Pechersky, Patrick Penner, Julianus Pfeuffer, Rachael Pirie, Yechen Qiao, Lauren
Reid, Ricardo Rodriguez, Nikitas Rontsis, Fio Ruggiu, Vincent F. Scalfani,
Ulrich Schatzschneider, Wonseok Shin, Anton Siomchen, Paolo Tosco, Kollin
Trujillo, Ivan Tubert-Brohman, Franz Waibl, Rachel Walker, Riccardo Vianello,
Marco Visani, QJ-Chen, UENO, M., heng-yin, EvaSnow, JP, Jess, knalice,
YOUNG-JAME, thomp-j, esiaero, bbu-imdea, bzoracler
## Highlights
- The RDKit now supports synthon-based substructure and similarity
(fingerprint-based and RASCAL-based) searches in very large combinatorial
spaces. This code should still be viewed as experimental: the API and results
may change in future releases.
## Backwards incompatible changes
- The order of combinations returned by Chem.Pharm2D.Utils.GetUniqueCombinations
has changed to be in numerical order. The combinations themselves are
unchanged.
- The MaeWriter class will now throw when attempting to write an empty Mol or
when there are errors during the writing (e.g. kekulization errors). Previous
behavior was to log an error and return an empty string.
- AdjustQueryProperties now no longer ignores additional atom adjustments when
makeAtomsGeneric is enabled.
- The functions getImplicitValence(), getNumImplicitHs(), getDegree(), and
getTotalDegree(), now return 0 for atoms that are not associated with
molecules (previously they threw exceptions)
- SMILES and RGroupDecomp JSON parsers were moved to their own translation
units. This will require C++ code using those JSON parsers to be added
#include directives for GraphMol/SmilesParse/SmilesJSONParsers.h and
GraphMol/RGroupDecomposition/RGroupDecompJSONParsers.h, respectively.
- Replaced enums in the signatures of MolToCXSmiles and
updateCXSmilesFieldsFromJSON with the underlying types. This may require
existing C++ code using those functions to be updated accordingly.
- HasPropWithValueQueryBase used RDKit::Dict::Pair to return data used for
serializing object in a molecule pickle. This has been changed to
RDKit::PairHolder which automatically manages memory.
- The colors of annotations on atoms and bonds are now controlled by the drawing
options `atomNoteColour` and `bondNoteColour` instead of the general
`annotationColour`.
- When writing SMILES, organic subset atoms which are bonded to "metals" will
always be written in square brackets, i.e. with their H count explicit. Here
the definition of "metal" is any atom matching an "M" query (the corresponding
SMARTS is `[!#0!#1!#2!#5!#6!#7!#8!#9!#10!#14!#15!#16!#17!#18!#33!#34!#35!#36!#52!#53!#54!#85!#86]`)
## New Features and Enhancements:
- NumAmideBonds descriptor missing
(github issue #1670 from malteseunderdog)
- Improved handling of SP/TB/OH reording in SMILES/SMARTS.
(github pull #6777 from johnmay)
- Fix canonicalization of stereogroups
(github pull #7041 from tadhurst-cdd)
- Update reaction fingerprints to use generators
(github issue #7521 from vfscalfani)
- Carry over enhanced stereochemistry groups from reaction product templates to products
(github issue #7669 from jpfeuffer)
- Simple speed up for CIPLabeler
(github pull #7826 from d-b-w)
- Additional compatibility updates for commutator/negator settings for …
(github pull #7834 from esiaero)
- Support Writing CX Extensions for Reactions
(github pull #7838 from KollinRT)
- Expose preset color palettes to MinimalLib through JSON
(github pull #7853 from ptosco)
- Another 2x performance improvement in CIP labelling
(github pull #7854 from d-b-w)
- Improve Morgan Fingerprint Performance
(github pull #7862 from scal444)
- [IterateCIPRanks] Precompute neighbor indices and counts, sort them together for each atom
(github pull #7889 from scal444)
- Optimize Butina Clustering for Performance and Expand API
(github pull #7892 from evasnow1992)
- Expose three ROMol methods which were not previously exposed to SWIG wrappers
(github pull #7895 from ptosco)
- Sort CIP entries in place using a lightweight wrapper, only sort tied entries
(github pull #7911 from scal444)
- export the targets with a python dependency to a different config file
(github pull #7914 from rvianello)
- Only save the most recent CIP rank for sorting
(github pull #7932 from scal444)
- Add to Cookbook "Include a Bond Index" recipe and image
(github pull #7939 from bertiewooster)
- Updates to the Docs/Book directory
(github pull #7942 from greglandrum)
- Allow inclusion of molecule names in ScaffoldNetwork
(github pull #7956 from PatrickPenner)
- Expose molzip functionality to MinimalLib
(github pull #7959 from ptosco)
- Expose propertyFlags to CFFI and MinimalLib
(github pull #7960 from ptosco)
- Make sure that loggers can be enabled, disabled, captured and tee'd from MinimalLib
(github pull #7962 from ptosco)
- SynthonSpace Search
(github pull #7978 from DavidACosgrove)
- Update SMILES parsing syntax error to include bad token position
(github pull #7979 from whosayn)
- Update SMILES parsing syntax error to include bad token position
(github issue #7980 from whosayn)
- Add Molecular Interaction Fields
(github pull #7993 from greglandrum)
- Expose tautomer scoring functions to python
(github pull #7994 from bp-kelley)
- Implemented two more JSON parsers for CFFI and MinimalLib
(github pull #8000 from ptosco)
- Explicit valence for charged organic atoms when creating a MolBlock
(github issue #8023 from greglandrum)
- improve defaults for the shape-based alignment
(github pull #8029 from greglandrum)
- SynthonSpace search timeout
(github pull #8070 from DavidACosgrove)
- Resolve clashing atom labels in 2D drawing
(github pull #8074 from DavidACosgrove)
- Add drawMols3D() and improve documentation for IPythonConsole
(github pull #8083 from greglandrum)
- Allow fragments of aromatic rings to match in RascalMCES
(github pull #8088 from DavidACosgrove)
- SynthonSearch synth check
(github pull #8109 from DavidACosgrove)
- Conformer embedding timeout
(github pull #8110 from nrontsis)
- Avoid expensive matching in conformer generation if it's not needed.
(github pull #8111 from nrontsis)
- allow specified chiral features to SSS match unspecified features
(github pull #8115 from greglandrum)
- efgs code
(github pull #8145 from bbu-imdea)
- Optimisations to fingerprint search of Synthon Space
(github pull #8152 from DavidACosgrove)
- Making SynthonSearch respond to Ctrl-C
(github pull #8153 from DavidACosgrove)
- Condense MMFF Contribs into single contrib per type.
(github pull #8175 from scal444)
- bump the inchi version to 1.07.2
(github pull #8176 from greglandrum)
- some optimizations of triangle smoothing and the bounds matrix code
(github pull #8190 from greglandrum)
- support Ctrl-C in conformer generation
(github pull #8197 from greglandrum)
- DistViolationContribs optimization
(github pull #8208 from evasnow1992)
- Add option to omit brackets when drawing query atoms.
(github pull #8212 from DavidACosgrove)
- Option to put padding round elements of reaction.
(github pull #8216 from DavidACosgrove)
- Add property to track reactant index in reaction products
(github issue #8222 from bp-kelley)
- Optimisation of fingerprint Synthon Search
(github pull #8223 from DavidACosgrove)
- Rascal: Add option to specify minimum clique size directly.
(github pull #8248 from DavidACosgrove)
- MolDraw2D: add separate colors for atom and bond annotations
(github pull #8249 from greglandrum)
- Restore functionality of the MinimalLib Dockerfile and improve exception handling performance
(github pull #8267 from ptosco)
- Option to preserve default text colors when highlighting atoms.
(github issue #8271 from JessJKitty)
- Tweak mol fragmenter
(github pull #8277 from DavidACosgrove)
- Expose basinThresh to the python layer
(github pull #8283 from nmaeder)
- Make MaeWriter to throw on errors.
(github pull #8297 from ricrogz)
- bump InChI version to 1.07.3
(github pull #8300 from greglandrum)
- addHs should ignore queries
(github issue #8304 from cdvonbargen)
- Add RascalMCES option to require complete RingInfo rings
(github pull #8305 from rachelnwalker)
- Atoms bonded to metal atoms should always have their H counts explicit in SMILES
(github pull #8318 from greglandrum)
- cartridge: expose sanitize options to mol_from_ctab
(github pull #8326 from greglandrum)
- Feat/use draw color in drawString()
(github pull #8334 from greglandrum)
- Synthon Search Phase 2
(github pull #8338 from DavidACosgrove)
- bump yaehmop version
(github issue #8395 from greglandrum)
## Bug Fixes:
- Segmentation fault using None as property name in SetProp
(github issue #4570 from bp-kelley)
- Python SIGSEGV when calling `rdkit.Chem.rdmolops.SplitMolByPDBResidues` on some molecules
(github issue #5599 from bzoracler)
- Suspicious value for atom pair code calculation
(github issue #6679 from QJ-Chen)
- Tautomer canonicalizer invariant violation
(github issue #7044 from fioruggiu)
- Online Documentation: `Mol.GetAtoms` and `Mol.GetBonds` miss signatures
(github issue #7527 from e-kwsm)
- Chem.MolToSmiles(mol, rootedAtAtom=pos), when the parameter rootedAtAtom is greater than or equal to 20, the range error is reported.
(github issue #7572 from YOUNG-JAME)
- rdMolAlign.GetBestRMS gets stuck
(github issue #7685 from LiuCMU)
- MergeQueryHs fails to detect explicit H involved in OR queries where there's more than 2 options in the query
(github issue #7687 from ricrogz)
- Fix 4.3.0--4.4.0 sql upgrade script
(github pull #7774 from esiaero)
- RWMol::insertMol should not add an empty ABSOLUTE_STEREO group unnecessarily
(github issue #7782 from ptosco)
- Catch exceptions in MultithreadedMolSupplier callbacks
(github pull #7810 from i-tub)
- HasPropWithValueQueryBase::getPair() may leak the value of RDValue.
(github issue #7865 from ricrogz)
- Use .dylib on macOS for PostgreSQL 16+
(github pull #7869 from cho-m)
- Setting an atom's pdb residue number with None segfaults
(github issue #7873 from bp-kelley)
- Restore "oops, exponential is a pain" code snippet in the RGD algorithm
(github pull #7898 from ptosco)
- Fix some more mem errors in 2024.09.1
(github pull #7899 from ricrogz)
- UFF optimization leads to overlapping atoms
(github issue #7901 from oboril)
- AssignStereochemistry(cleanIt=True) does not clean _CIPCode property on bonds
(github issue #7929 from ricrogz)
- rxn.RunReactants mismatch directional bonds in a heterocycle ring
(github issue #7944 from m-hyin)
- Fix for trimethylcyclohexane error
(github pull #7949 from tadhurst-cdd)
- Fix incorrect CIP values for some aromatic atropisomers
(github pull #7957 from tadhurst-cdd)
- Need to reserve space before assignment
(github pull #7964 from bp-kelley)
- Fixes a regression introduced in #7582 which made all SWIG enums become type-unsafe
(github pull #7972 from ptosco)
- Fix for removing bad stereo indications from Atropisomer parsing
(github pull #7984 from tadhurst-cdd)
- Morgan fingerprints with chirality distinguish chiral atoms too early
(github issue #7986 from greglandrum)
- Wrong SMARTS pattern in O-benzyl deprotection reaction
(github issue #7989 from marcobICR)
- Fix for kekuleAtrop wedge error
(github pull #7992 from tadhurst-cdd)
- RMS pruning in conformer generation misses conformers above the threshold
(github issue #8001 from fwaibl)
- Fix potential division by zero in UFF TorsionAngle
(github pull #8007 from ricrogz)
- Fix probe molecule transformation for ShapeAlign
(github pull #8016 from greglandrum)
- DistanceConstraintContrib is not exposed to SWIG wrappers anymore
(github issue #8019 from ptosco)
- MinimalLib and CFFI get_mol() will not remove Hs even when removeHs is set to true
(github issue #8027 from ptosco)
- segfault when parsing molecule with high coordination number
(github issue #8060 from garaboncias)
- Adding Hs to a linear molecule throws "Cannot normalize a zero length vector"
(github issue #8065 from ricrogz)
- Handle DOS files in SynthonSpaceSearch
(github pull #8075 from DavidACosgrove)
- reloading IPythonConsole breaks it
(github issue #8082 from greglandrum)
- Avoid that map::at() throws an exception in case atomColourPalette includes neither 6 nor -1
(github pull #8085 from ptosco)
- Synthon search fp bug
(github pull #8086 from DavidACosgrove)
- HetAtomTautomerv2 detects tautomerism at carboxylate
(github issue #8090 from d-b-w)
- rdDetermineBonds segfaults when called from readonly directory
(github issue #8092 from bp-kelley)
- Tanimoto score exceeds 1 for deuterium-containing molecules in rdShapeAlign.AlignMol()
(github issue #8096 from fulopjoz)
- Rascal returns empty results even when told not to
(github issue #8098 from DavidACosgrove)
- Use endian-aware read/write for length of string.
(github pull #8105 from DavidACosgrove)
- normalizeDepiction() should always center coordinates on the coordinate centroid, irrespective of the canonicalize parameter
(github pull #8107 from ptosco)
- Vulnerability fixes
(github pull #8116 from thomp-j)
- symmetric ring finding not returning correct results for molecules with fragments
(github issue #8121 from greglandrum)
- Fixes two out-of-bounds bugs in the InChI wrapper
(github pull #8126 from greglandrum)
- Two out-of-bounds bugs in inchi interface
(github issue #8129 from chbrown)
- Bad radical values are now ignored for MRV generation
(github pull #8130 from tadhurst-cdd)
- INCHI-API: `add_custom_command` signature problem
(github issue #8138 from e-kwsm)
- JavaWrappers: CMake `add_custom_command` has multiple comments
(github issue #8139 from e-kwsm)
- Fix leaks in MIF wrappers
(github pull #8143 from ricrogz)
- Fix division by zero in MIF descriptors
(github pull #8144 from ricrogz)
- fix SetPositions when using strided numpy array
(github pull #8150 from richardjgowers)
- Cyanamide incorrectly matches methyl-imidazole when aromaticMatchesConjugated is set
(github issue #8162 from jones-gareth)
- Unify Mol rendering in IPython
(github pull #8166 from asiomchen)
- improve handling of esters, amides, etc. in the v2 tautomer hash
(github pull #8173 from greglandrum)
- bad conformer ID errors when drawing with unspecifiedStereoIsUnknown and prepareMolsBeforeDrawing drawoptions both set to false
(github issue #8177 from oleksii-dukhno-bayer)
- Reaction Rendering Looks odd at small scales
(github issue #8195 from bp-kelley)
- Rascal MCES missing an atom when ignoreAtomAromaticity is True
(github issue #8198 from DavidACosgrove)
- RASCAL MCES gives duplicate results with singleLargestFrag = True
(github issue #8200 from DavidACosgrove)
- Reaction products not being drawn with smooth corners
(github issue #8209 from DavidACosgrove)
- Reaction drawing ignores panels, always draws across full canvas
(github issue #8213 from DavidACosgrove)
- Generating inchi for chiral phosphates raises a warning
(github issue #8238 from pechersky)
- Chiral phosphates no longer generate distinct inchi
(github issue #8239 from pechersky)
- RascalMCES.FindMCES Produces Incorrect SMARTS Output
(github issue #8246 from gratus907)
- Segmentation fault in EmbedMultipleConfs
(github issue #8250 from maabuu)
- Rascal - Missing atoms in MCESs
(github issue #8255 from laurenreid1)
- PR #8192 breaks AdjustQueryProperties / aromatizeIfPossible for some molecules.
(github issue #8256 from ricrogz)
- MolBlocks should fail to write when given coordinates that are too large
(github issue #8265 from bp-kelley)
- trimethylcyclohexane chirality error
(github pull #8272 from tadhurst-cdd)
- Some mem fixes.
(github pull #8276 from ricrogz)
- Fix buffer size in pickersCLI.cpp
(github pull #8282 from al42and)
- molzip doesn't handle linker style zipping
(github issue #8288 from bp-kelley)
- Another mem leak fix to the InChI conversion
(github pull #8291 from ricrogz)
- Fix memory leaks in MolStandardize SWIG Wrapper
(github pull #8298 from jones-gareth)
- Fix the way carbon is handed in cleanupOrganometallics()
(github pull #8301 from greglandrum)
- Fix potential build error under MSVC
(github pull #8302 from ricrogz)
- Explicit valence of carbon > 4 not permitted
(github issue #8312 from schatzsc)
- apply query adjustments when makeAtomsGeneric is enabled
(github pull #8315 from greglandrum)
- Ignore invalid chirality labels when reading MAE inputs
(github issue #8346 from whosayn)
- Unable to write wiggly bond information by default
(github issue #8348 from whosayn)
- Calling expandQuery on an empty QueryAtom crashes the program
(github issue #8353 from DavidACosgrove)
- stereo atoms not set for STEREOANY bonds when using the new stereo code
(github issue #8364 from greglandrum)
- cis/trans markers in CXSMILES being interpreted incorrectly
(github issue #8365 from greglandrum)
## Cleanup work:
- Fix some mem errors in 2024.09.1
(github pull #7867 from ricrogz)
- FindPython Development.Module instead of Development
(github pull #7881 from pechersky)
- Use smart pointer for buffer.
(github pull #7883 from DavidACosgrove)
- Modernise ExplicitBitVect.
(github pull #7884 from DavidACosgrove)
- Update `PUBCHEMSHAPE_URL` and remove patch code
(github pull #7900 from eunos-1128)
- Replace awful enum reflection macros with Better Enums
(github pull #7913 from ptosco)
- ... and more mem errors fixed
(github pull #7924 from ricrogz)
- Replace GetImplicitValence() and GetExplicitValence() with GetValence()
(github pull #7926 from greglandrum)
- SA Score updates
(github pull #7928 from DavidACosgrove)
- Remove deprecation warnings by switching MinimalLib to fingerprint generators
(github pull #7938 from ptosco)
- One final round of mem errors
(github pull #7943 from ricrogz)
- Fix misnamed test
(github pull #7952 from ricrogz)
- Make sure that FreeSASA can be built as DLL on Windows
(github pull #7985 from ptosco)
- Remove unused code from GraphMol/SmilesParse
(github pull #7996 from whosayn)
- Throw when attempting to normalize a Zero RDGeom::Point
(github pull #8008 from ricrogz)
- Avoid division by zero in DrawMol
(github pull #8011 from ricrogz)
- remove no-op macros and dead code (pt 1)
(github pull #8012 from whosayn)
- Avoid division by zero in AlignPoints
(github pull #8013 from ricrogz)
- Fix shifting of a potentially negative number
(github pull #8014 from ricrogz)
- Fix some minor issues reported by ubsan and the compiler
(github pull #8015 from ricrogz)
- remove no-op macros and dead code (pt 2)
(github pull #8035 from whosayn)
- remove no-op macros and dead code (pt 4)
(github pull #8037 from whosayn)
- Remove explicit default constructor from Compute2DCoordParameters
(github pull #8046 from d-b-w)
- Remove warnings from `npscorer.py`
(github issue #8052 from mvisani)
- Minor MinimalLib cleanup
(github pull #8112 from ptosco)
- fix: apply modernize-use-nullptr
(github pull #8134 from e-kwsm)
- relax two tolerances for ARM64 builds
(github pull #8148 from tadhurst-cdd)
- Fix build under gcc-14
(github pull #8378 from ricrogz)
## Documentation:
- The Python type hint for GetMolLayers in RegistrationHash.py appears incorrect
(github issue #7650 from yechenqiao)
- Getting Started with Contributing to RDKit
(github pull #7813 from RPirie96)
- Documentation updates
(github pull #7933 from greglandrum)
- expanded documentation in Chem and AllChem
(github pull #8004 from greglandrum)
- Mol to smiles docs
(github pull #8005 from DavidACosgrove)
- fixing the doc string in the shape alignment code
(github pull #8040 from brje01)
- Improve doc string for ParseAbbreviations in python wrapper.
(github pull #8049 from DavidACosgrove)
- Some documentation updates
(github pull #8080 from greglandrum)
- document H atoms in SMARTS
(github pull #8081 from greglandrum)
- Add section `How to Build RDKit Documentation Locally`
(github pull #8120 from bertiewooster)
- Expand on Explicit Valence Error - Partial Sanitization recipe
(github pull #8131 from bertiewooster)
- GetAtomsMatchingQuery: Tell where to find query options for
(github pull #8132 from bertiewooster)
- Explain how to run doctests locally
(github pull #8135 from bertiewooster)
- Update KNIME section in GettingStartedWithContributing
(github pull #8174 from knalice)
- Update InChi links
(github pull #8187 from RubenChM)
- Fix typo in documentation
(github pull #8220 from nmaeder)
## Code removed in this release:
- AtomPairs.Utils.NumPiElectrons was removed, please use Chem.GetNumPiElectrons instead.
- The classes DistViolationContrib, ChiralViolationContrib, and FourthDimContrib were removed, please use DistViolationContribs, ChiralViolationContribs, and FourthDimContribs instead.
- The function `MMFF::setMMFFAromaticity()` was removed, please use `MolOps::setMMFFAromaticity()` instead.
## Deprecated code (to be removed in a future release):
- The functions Atom::getImplicitValence() and Atom::getExplicitValence() are deprecated, please use Atom::getValence(Atom::ValenceType::IMPLICIT) or Atom::getValence(Atom::ValenceType::EXPLICIT) instead
# Release_2024.09.1
(Changes relative to Release_2024.03.1)
## Acknowledgements
(Note: I'm no longer attempting to manually curate names. If you would like to
see your contribution acknowledged with your name, please set your name in
GitHub)
Jakub Adamczyk, François Bérenger, Christoph Berg, Jonathan Bisson, Anna
Brünisholz, David Cosgrove, Michael Cho, Peter Eastman, Hussein Faara, Eloy
Félix, Jacob Hucker, Tadd Hurst, Gareth Jones, Andrew Kane, Eisuke Kawashima,
Brian Kelley, Joos Kiener, Chris Kuenneth, Phong Lam, Juuso Lehtivarjo, Yuanyue
Li, Niels Maeder, Mark Mackey, Niels Kristian Kjærgård Madsen, Syed Zayyan
Masud, Josh A. Mitchell, Dan Nealschneider, Yakov Pechersky, Julianus Pfeuffer,
Rachael Pirie, Ricardo Rodriguez, Philippe Schwaller, Junior Sen, Ernst-Georg
Schmid, Matt Swain, Paolo Tosco, Chad Townsend, Philip Ullmann, Riccardo
Vianello, Jeff Wagner, Franz Waibl, Maciej Wójcikowski, Qiancheng Xia, Nic
Zonta, kekulai-fredchang, AaronsonJames, Xavier M, xiaohongniua2, jakirkham,
spparel, Amanda P, esiaero, hxu105
## Highlights
- A full molecular validation and standardization pipeline has been added to the rdMolStandardize library. This is extensible and suitable for incorporation in a broader compound registration pipeline.
- It's now possible to do shape-based alignment in the RDKit via integration with the newly open-sourced pubchem-align3d library
- The new rdMolProcessing module introduces easy-to-use convenience functions for reading molecules from input files and carrying out standard calculations. Multiple threads can be used for both file parsing and the calculations, so this can be quite efficient. In this release we've included support for generating fingerprints, but additional functionality will be added in the future.
## Backwards incompatible changes
- The SMARTS for the unbranched alkanes in the fragment descriptors has been corrected. This descriptor will now frequently return different results.
- The SimilarityMap functions GetSimilarityMapFromWeights(), GetSimilarityMapForFingerprint(), and GetSimilarityMapForModel() all now require an rdMolDraw2D drawing object to be passed in.
- A bug fix in v2 of the tautomer and protomer hashes can lead to different results for these hashes. One less bond is now included in the tautomeric zone for systems like enamines/imines, so the v2 tautomer hash of the molecules CN=CC and CNC=C is now [C]:[C]:[N]-[CH3]_4_0 instead of [C]:[C]:[N]:[C]_7_0
- The way valences are checked and implicit valences are calculated has been changed. The results should generally be the same as before, but some previously allowed valence states have been removed. These include: five-valent [C+], valence state 6 for the elements Al and Si, and valence state 7 for the elements P, As, Sb, and Bi.
- The GeneralMolSupplier has been moved to use the v2 API. The only change that should be necessary to end-user code is that the resulting supplier now returns std::unique_ptr<ROMol> instead of ROMol *.
## New Features and Enhancements:
- Added JSON parameters to MinimalLib get_(cx)?sm(ile|art)s() functions
(github pull #7194 from ptosco)
- Update MinimalLib for Function Exposure: runReactants
(github pull #7210 from syedzayyan)
- Include macrocycles in atropisomer calculation by not sanitizing them away
(github pull #7291 from pechersky)
- Enable RGD highlights as in blog post
(github pull #7322 from ptosco)
- C# Build Net6 library and tests using cmake
(github pull #7326 from jones-gareth)
- Add option for RASCAL to restrict atom matching to atoms of same degree
(github pull #7344 from DavidACosgrove)
- Add MolStandardize to C# wrappers
(github pull #7351 from jones-gareth)
- CDXML parser doesn't recognize any bonds
(github issue #7357 from bp-kelley)
- Expose replaceAtomWithQueryAtom to Python
(github pull #7380 from DavidACosgrove)
- Allow reapplyMolBlockWedging() to restore the original wedging regardless the bond type
(github pull #7386 from rvianello)
- C sharp rascal mcs wrapper
(github pull #7390 from jones-gareth)
- Add option for non-isomeric SMILES creation in the PostgreSQL cartridge
(github pull #7395 from rvianello)
- No coords atropisomers - fix smiles output of atrop wedges after reordering
(github pull #7418 from tadhurst-cdd)
- Handle query atoms and bonds in SWIG wrappers
(github pull #7431 from jones-gareth)
- Please consider exposing code for simplified enhanced stereo labels
(github issue #7438 from ZontaNicola)
- Expose a couple of additional functions to Python
(github pull #7444 from greglandrum)
- Expose the property pickle options to SWIG
(github pull #7448 from greglandrum)
- Add python Conformer.SetPositions wrapper
(github pull #7449 from bp-kelley)
- Favor nonwedged bonds in kekulization
(github pull #7456 from greglandrum)
- Optionally limit the MolStandardize::Uncharger to only alter the protonation state
(github pull #7458 from rvianello)
- Allow subsets of ring systems to match templates
(github pull #7468 from ZontaNicola)
- Support NumPy 2.0
(github issue #7477 from jakirkham)
- Switch to isoelectronic valence model
(github pull #7491 from greglandrum)
- Allow creation of an empty forcefield
(github pull #7494 from nmaeder)
- Allow wedged double and aromatic bonds
(github pull #7495 from greglandrum)
- Add getUIntVectProp to SubstanceGroups in SWIG wrappers
(github pull #7507 from jones-gareth)
- add MolToV2KMolBlock()
(github pull #7511 from greglandrum)
- GIST index improvements for @=
(github pull #7547 from ergo70)
- A collection of small improvements from Roger S
(github pull #7566 from greglandrum)
- Add atom map number to complex query atom symbol.
(github pull #7571 from DavidACosgrove)
- add findMesoCenters
(github pull #7574 from greglandrum)
- Add missing GetRow method and fix Python parameter names
(github pull #7575 from ptosco)
- Extend RDKit::MolStandardize with a validation and standardization Pipeline
(github pull #7582 from rvianello)
- Speed up GetPropsAsDict(), especially on Mac
(github pull #7584 from d-b-w)
- Update FindFLEX.cmake and FindBISON.cmake modules.
(github issue #7590 from whosayn)
- Optimizations of the DistanceGeometry forcefield
(github pull #7600 from greglandrum)
- Rascal atom and bond equivalences
(github pull #7612 from DavidACosgrove)
- Rascal match exact atom type
(github pull #7673 from DavidACosgrove)
- Adds HasPropWithValue Pickler
(github pull #7692 from bp-kelley)
- Add support for building the CFFI lib without InChI
(github pull #7698 from ankane)
- Move calculation of molecular weight, exact molecular weight, and moleuclar formula to MolOps
(github issue #7701 from greglandrum)
- Add more "contribs" classes for use in conformer generation
(github pull #7711 from nmaeder)
- Speed up boost vector iterators
(github pull #7719 from bp-kelley)
- Allow atom map numbers to be ignored when generating canonical SMILES
(github pull #7732 from DavidACosgrove)
- Expose two additional boolean flags for mol creation to MinimalLib
(github pull #7743 from ptosco)
- Complement JSMol with JSMolShared
(github pull #7744 from ptosco)
- Fix vectToString such that it outputs valid JSON
(github pull #7749 from ptosco)
- SaltRemover loses E/Z configuration
(github issue #7750 from JuniorSen)
- Expose MMFF aromaticity model for SetAromaticity
(github pull #7765 from JLVarjo)
- add mol processing API
(github pull #7773 from greglandrum)
- Expose multicolor highlights to MinimalLib
(github pull #7787 from ptosco)
- Provide an RDKit wrapper around pubchem-align3d
(github pull #7798 from greglandrum)
- Fix typo (Fingeprint -> Fingerprint)
(github pull #7801 from ptosco)
- [bot] Update molecular templates header file
(github pull #7808 from github-actions[bot])
- Add overloads of MolOps::getMolFrags and MolOps::getMolFragsWithQuery
(github pull #7823 from DavidACosgrove)
## Bug Fixes:
- Lower case symbols in SMILES for bracket atoms in aromatic rings
(github issue #3697 from pschwllr)
- Mistake in converting Phosphinic acid to InChI
(github issue #5311 from YuanyueLi)
- rdMolDescriptors.CalcNumAtomStereoCenters fails on Sanitized Molecule
(github issue #6757 from C-Townsend)
- Parasubstituted chiral cyclobutyl causes "zero final chiral volume" warnings depending on 2D coords
(github issue #7070 from pechersky)
- Rountripping through MaeWriter and MaeMolSupplier leaks stereo status property
(github issue #7153 from ricrogz)
- Correct unbranched alkane SMARTS to match the description given
(github #7255 from ghost)
- Improve PDB formatting with incomplete Monomer info
(github pull #7286 from fwaibl)
- restrict the application of 1,3- 1,5- conjugated cation normalization
(github pull #7287 from rvianello)
- DetermineBondOrders() does not assign single bonds correctly
(github issue #7299 from peastman)
- incorrect chiral carbon perception in `Chem.FindMolChiralCenters` new implementation
(github issue #7300 from eloyfelix)
- The serialization of porphyrin to mol format introduces some double bonds with bond stereo 3/either
(github issue #7306 from rvianello)
- re-enable yaehmop support in DetermineBonds
(github pull #7316 from greglandrum)
- AtomPairs.Utils.NumPiElectrons fails on atoms with dative bonds
(github issue #7318 from ricrogz)
- Wedge bond from atrop error
(github pull #7321 from tadhurst-cdd)
- Remove misleading walrus operators
(github pull #7323 from mcs07)
- SaltRemover may clear computed properties even if no atoms are removed
(github issue #7327 from ricrogz)
- DetermineBondOrders() makes incorrect assumptions about valence
(github issue #7331 from peastman)
- remove some warnings with -Wextra
(github pull #7339 from greglandrum)
- Fixes problem from discussion 7317
(github pull #7345 from DavidACosgrove)
- Trigonal Pyramid Carbon may or not have a parity depending on atom ordering
(github issue #7346 from ricrogz)
- Wedge bond from atrop error
(github pull #7355 from tadhurst-cdd)
- Rascal exactConnectionsMatch bug
(github pull #7359 from DavidACosgrove)
- Pre-condition violations for BCUT descriptor calculations
(github issue #7364 from paulsonak)
- RegistrationHash.GetMolLayers does not distinguish atropisomers
(github issue #7367 from ricrogz)
- fixes bug with overly large count_bounds
(github pull #7368 from greglandrum)
- Atropisomeric bond wedging should favor ring bonds
(github issue #7371 from greglandrum)
- DetectChemistryProblems fails with traceback when run on mols coming from aromatic SMARTS
(github issue #7375 from ricrogz)
- Fix the Uncharger 'force' option w/ non-neutralizable negatively charged sites
(github pull #7382 from rvianello)
- Allow disabling output of dative bonds to SMILES
(github pull #7384 from greglandrum)
- 2023.9.6 duplicate "self" argument in `rdfiltercatalog/__init__.pyi`
(github issue #7401 from JHucker)
- Do not apply the normalization of conjugated cations to the oxime oxygen
(github pull #7403 from rvianello)
- fix a lifetime bug in the fingerprint generator
(github pull #7408 from greglandrum)
- drawing mol with a non zero confID results in bad confID error
(github issue #7409 from kekulai-fredchang)
- CXSmiles writer does not use default conformer ID
(github issue #7414 from greglandrum)
- allow static builds to work with clang and no coordgen
(github pull #7416 from greglandrum)
- fixStructureCheckerBuildError - fix location of MolFileSterechem.h
(github pull #7420 from tadhurst-cdd)
- Planar amide nitrogen incorrectly flagged as _ChiralityPossible
(github issue #7434 from mark-mackey-cresset)
- MaeWriter: handle the R group label property and update the Maestro property prefixing
(github pull #7454 from ricrogz)
- Memory leakage in CachedSmilesMolHolder
(github issue #7457 from philipullmann)
- PostgreSQL 17: ERROR: commutator operator = is already the commutator of operator =
(github issue #7459 from df7cb)
- Remove unnecessary wrapped pointers
(github pull #7465 from bp-kelley)
- fix DCLV calculation for ligands
(github pull #7480 from RPirie96)
- Problem with ring stereo and atropisomers and new stereo perception
(github pull #7486 from tadhurst-cdd)
- Install the atropisomer header
(github pull #7487 from ricrogz)
- Index anomaly with mol @= mol operator on PostgreSQL. Exact match is extremely slow!
(github issue #7493 from ergo70)
- CDXML Parser doesn't recognize dative bonds
(github issue #7501 from kienerj)
- Shrink the tautomeric zone for the v2 hash of things like imines
(github pull #7502 from greglandrum)
- Avoid inconsistency between V2K and V3K MDL output wrt isotopic labelling of R groups
(github pull #7504 from ptosco)
- atomChiralTypeFromBondDirPseudo3D fails for poorly scaled molecular coordinates
(github issue #7509 from d-b-w)
- EnumerateStereoisomers cannot give enumeration on certain rings and nitrogens
(github issue #7516 from qcxia20)
- `rdkit-stubs/Chem/rdchem.pyi`: `Mol.GetAtoms` and `Mol.GetBonds` are wrong
(github issue #7526 from e-kwsm)
- CDXML Parsing Issue
(github issue #7528 from bp-kelley)
- IndexError with computing fingerprint
(github issue #7533 from AaronsonJames)
- Conformer generation fixes and enhancements
(github pull #7535 from nmaeder)
- Fix issues arising from useMolBlockWedging and the new atropisomer kekulization code
(github pull #7540 from ptosco)
- Restore mol writing functions in the RDKFuncs module
(github pull #7544 from ptosco)
- Avoid duplicate enhanced stereo labels in drawing
(github pull #7546 from ptosco)
- AllChem.EmbedMolecule returns -1
(github issue #7552 from hxu105)
- Handling of chiral sulfur in aromatic rings
(github issue #7556 from spparel)
- ConfGen: fix a logic error in one of the chiral volume tests
(github pull #7560 from greglandrum)
- fix one case of undesired 1-3 charge recombination
(github pull #7561 from rvianello)
- reject template if it doesn't match bond stereo
(github pull #7567 from ZontaNicola)
- Switch imp to importlib in nbtests
(github pull #7573 from bjonnh-work)
- PDBWriter offset bug
(github issue #7579 from nezix)
- Stub files contain duplicate argument names
(github issue #7583 from nielskm)
- Don't register FilterMatcherBase twice
(github pull #7589 from bp-kelley)
- Update commutator/negator settings for operator @=
(github pull #7596 from rvianello)
- FindPotentialStereo() missing some results if `cleanIt` is False
(github issue #7598 from greglandrum)
- `GetBPFingerprint` and `GetBTFingerprint` deprecation warning
(github issue #7602 from j-adamczyk)
- Fix an out of bounds access in ForwardMolSupplier
(github pull #7607 from bp-kelley)
- EnumerateStereoisomers Runtime error when enumerate guanidine derivatives on rdkit 2024.03.4
(github issue #7608 from phonglam3103)
- Loading SDF file works in RDKit 2024.03.3 but not 2024.03.4
(github issue #7619 from j-wags)
- Bad solid wedge to alkyne group
(github issue #7620 from DavidACosgrove)
- Deprecation warning from Descriptors.CalcMolDescriptors
(github issue #7625 from kienerj)
- Fix parsing RBCNT from mol files, and add exporting it
(github pull #7638 from ricrogz)
- EnumerateLibrary.GetPosition() surprisingly slow
(github issue #7639 from jpfeuffer)
- Multithreaded InPlace standardization functions seg fault if there's a duplicate molecule
(github issue #7642 from greglandrum)
- MinimalLib: fix misformatted molblock and make sure unit test is actually executed
(github pull #7647 from ptosco)
- Highlighted hetero atoms disappear
(github issue #7654 from DavidACosgrove)
- constrained minimization
(github issue #7671 from xiaohongniua2)
- Reaction pickling does not honor PicklePropertiesOptions
(github issue #7674 from jpfeuffer)
- RDKit cannot pickle QueryAtoms with HasPropQuery
(github issue #7675 from jpfeuffer)
- Make sure angleconstraints only take angles between 0 and 180 degrees.
(github pull #7688 from nmaeder)
- Determine bonds calls debugMol in certain cases
(github issue #7691 from bp-kelley)
- Double-bond geometry lost from CXSMILES?
(github issue #7725 from greglandrum)
- Ensure 13 bounds constraints are added to angles that are part of an improper torsion
(github pull #7729 from nmaeder)
- Python 3.13 support: _Py_IsFinalizing() has been removed from Python 3.13.
(github issue #7731 from kuelumbus)
- Bad 2-colour wedge
(github issue #7739 from DavidACosgrove)
- Fix aliasing bug in MultithreadedSDMolSupplier and move GeneralFileReader to v2 API
(github pull #7761 from greglandrum)
- Add callbacks to the multithreaded mol suppliers
(github pull #7763 from greglandrum)
- Fix typo in 4.5.0--4.6.0 sql upgrade script
(github pull #7775 from esiaero)
- RDKit 2024.03.6 fails to build on Mac with certain options
(github issue #7776 from ankane)
- Fix issue in #7720
(github pull #7778 from ricrogz)
- Drop mol_hash for legacy databases to enable upgrade to recent versions
(github pull #7804 from mwojcikowski)
- A couple of fixes to the InteractiveRenderer Jupyter integration
(github pull #7805 from ptosco)
## Cleanup work:
- Code/PgSQL: Fix Pointer vs Datum (Compatibility with PG16)
(github pull #6733 from df7cb)
- `README.md`'s documentation badge is out of date.
(github issue #7052 from Yoshanuikabundi)
- switch to range-based for loops
(github pull #7278 from AnnaBruenisholz)
- Cleaner forloops, deleting of empty header file
(github pull #7320 from AnnaBruenisholz)
- Make ctest run installed tests if RDK_INSTALL_PYTHON_TESTS
(github pull #7325 from mcs07)
- cleanup RDKit::MolOps::detectBondStereochemistry
(github pull #7329 from rvianello)
- Cleanup of Code/DataStructs
(github pull #7365 from AnnaBruenisholz)
- Fixes #7378, raw docstring to escape null chars
(github pull #7379 from pechersky)
- Include header for boost::numeric_cast
(github pull #7389 from cho-m)
- deprecations for the 2024.09 release
(github pull #7398 from greglandrum)
- Cleanup: Force field
(github pull #7406 from AnnaBruenisholz)
- Geometry cleanups
(github pull #7433 from AnnaBruenisholz)
- Numpy 2 Support
(github pull #7531 from AnnaBruenisholz)
- Fix #7485 and #7530
(github pull #7550 from ptosco)
- fix(rdmolfiles): fix parameters and docstrings
(github pull #7648 from e-kwsm)
- Refactor distgeom minimizations
(github pull #7652 from nmaeder)
- Fix some missing headers when doing "make install"
(github pull #7667 from greglandrum)
- Remove Descriptors as a dependency of many other RDKit libraries
(github pull #7700 from greglandrum)
- Reduce code duplication in ff
(github pull #7715 from nmaeder)
- Some cmake cleanup work
(github pull #7720 from greglandrum)
- doc: fix -Wdocumentation-html
(github pull #7721 from e-kwsm)
- Code cleanup, minor refactoring and typos
(github pull #7742 from ptosco)
- Update SA score to use FingerprintGenerators
(github pull #7795 from UnixJunkie)
- massive simplification of README.md
(github pull #7831 from greglandrum)
## Code removed in this release:
- The legacy Python code for drawing molecules was removed in this release. This includes the following modules in rdkit.Chem.Draw: aggCanvas, cairoCanvas, canvasbase, MolDrawing, mplCanvas, qtCanvas, spingCanvas; the functions Draw.MolToImageFile(), Draw.MolToMPL(), and Draw.MolToQPixmap(); the "canvas" argument to the function Draw.MolToImage(); and calling Draw.MolToFile() with imageTypes other than PNG or SVG,
## Deprecated code (to be removed in a future release):
- AtomPairs.Utils.NumPiElectrons is deprecated in favor of Chem.GetNumPiElectrons.
AtomPairs.Utils.NumPiElectrons failed if the atom had outgoing dative bonds (see Issue #7318).
- The classes DistViolationContrib, ChiralViolationContrib, and FourthDimContrib have been deprecated. Please use DistViolationContribs, ChiralViolationContribs, and FourthDimContribs instead.
- The function `MMFF::setMMFFAromaticity()` has been moved to the namespace MolOps. Please use `MolOps::setMMFFAromaticity()` instead.
# Release_2024.03.1
(Changes relative to Release_2023.09.1)
## Acknowledgements
(Note: I'm no longer attempting to manually curate names. If you would like to
see your contribution acknowledged with your name, please set your name in
GitHub)
Mark Archibald, Armin Ariamajd, Chris Von Bargen, Jason Biggs, Jonathan Bisson,
Jan C. Brammer, Jessica Braun, Benoît Claveau, David Cosgrove, James Davidson,
Hussein Faara, Théophile Gaudin, Gareth Jones, Christoph Hillisch, Tad Hurst,
Kevin Keating, Brian Kelley, Joos Kiener, David Lounsbrough, Jeremy Monat, Dan
Nealschneider, Yoshinobu Ogura, Marta Pasquini, Yakov Pechersky, Patrick Penner,
Rachael Pirie, Ricardo Rodriguez-Schmidt, Nate Russell, Ivan Tubert-Brohman,
Matthew Seddon, Leonid Stolbov, Paolo Tosco, Riccardo Vianello, Franz Waibl,
Rachel Walker, sitanshubhunia, skystreet8, dehaenw, dhibbit, vslashg, nbehrnd,
MarioAndWario, levineds-meta
## Highlights
- An initial version of support for atropisomers has been added; this will be expanded in future releases.
- Support for using multiple threads has been added in a few more places: many operations in rdMolStandardize, the fingerprint generators, and GetBestRMS()/GetAllConformerBestRMS()
- The initial release of version 2 of the RDKit C++ API; we will continue to expand this in future releases. The new API makes it easier to write correct and memory safe code. The current API is still supported and will remain so for the forseeable future, but we encourage C++ developers to start using v2 of the API in their code.
## Backwards incompatible changes
- Two changes to improve the defaults for conformer generation: the functions EmbedMolecule() and EmbedMultipleConfis() now use ETKDGv3 by default (previously they were using ETKDGV1) and only consider heavy atoms when calculating RMSD for conformer pruning (previously Hs were alos considered).
- The way that the number of radical electrons is calculated for atoms coming from mol blocks has been changed. Systems like a `[CH]` marked as a `DOUBLET` will now have three radical electrons assigned. This is consistent with the value from SMILES.
- The validation classes in MolStandardize were refactored in order to offer a simpler and more consistent API. In the C++ implementation, the `MolVSValidations` base class was removed and consolidated into `ValidationMethod`. Consequently, the `validate` method replaced `run` in the subclasses related to MolVS (namely `NoAtomValidation`, `FragmentValidation`, `NeutralValidation`, and `IsotopeValidation`) and all subclasses of `ValidationMethod` are now required to implement a `copy` method. Moreover, `MolStandardize::ValidationErrorInfo` was redefined as an alias for `std::string`. The changes related to the MolVS validation methods were similarly implemented in the Python API.
- Metal atoms (really any atom which has a default valence of -1) now have their radical electron count set to zero if they form any bonds. Metal atoms/ions without bonds will continue to be assigned a radical count of either 1 or 0 if they do/do not have an odd number of valence electrons. It is not possible in a cheminformatics system to generally answer what the spin state of a metal atom should be, so we are taking a simple and easily explainable approach. If you know the spin state of your species, you can directly provide that information by calling SetNumRadicalElectrons().
- Chirality will now be perceived for three-coordinate atoms with a T-shaped coordination environment and the wedge in the stem of the T. If we are perceiving tetrahedral stereo, it's possible to interpret this unambiguously.
- The CFFI MinimalLib function get_qmol() returns NULL rather than the "Error!" const char[] string for consistency with get_mol() and get_rxn().
- Bug fixes in the v2 tautomer hash algorithm will change the output for some molecules. Look at PR #7200 for more details: https://github.com/rdkit/rdkit/pull/7200
- RMS pruning during conformer generation now symmetrizes conjugated terminal groups by default. This can be disabled with the parameter "symmetrizeConjugatedTerminalGroupsForPruning"
## New Features and Enhancements:
- Support writing detailed SMARTS queries to CTABs using the SMARTSQ mechanism
(github issue #5819 from greglandrum)
- add more error checking to substance groups
(github issue #5923 from greglandrum)
- add maxRecursiveMatches to SubstructMatchParameters
(github issue #6017 from greglandrum)
- Removed some code duplication between Depictor.cpp and common.h
(github pull #6799 from greglandrum)
- Add support for writing chirality and stereo in MaeWriter
(github pull #6810 from rachelnwalker)
- Implement MinimalLib get_mcs() version that returns JSON
(github pull #6812 from ptosco)
- support generalized substructure search in the SubstructLibrary
(github pull #6835 from greglandrum)
- Support copying of GeneralizeQueryMolecules
(github issue #6851 from greglandrum)
- Enable chemist-friendly depiction of R-groups
(github pull #6866 from ptosco)
- Allow building DetermineBonds without YAeHMOP support
(github pull #6885 from greglandrum)
- Add multithreading to getBestRMS and new getAllConformerBestRMS
(github pull #6896 from greglandrum)
- switch to catch2 v3
(github pull #6898 from greglandrum)
- minilib functions exposure: mmpa
(github pull #6902 from StLeonidas)
- atropisomer handling added
(github pull #6903 from tadhurst-cdd)
- Add multi-threaded versions of some MolStandardize operations
(github pull #6909 from greglandrum)
- Add (multithreaded) functions to the fingerprint generators for calculating multiple fingeprints in one call
(github pull #6910 from greglandrum)
- Add Python modules to generate stubs and automatically patch docstrings
(github pull #6919 from ptosco)
- Update molecular templates headers and drop bond-length tests
(github pull #6960 from github-actions[bot])
- Add in place and multithread support for more of the MolStandardize code
(github pull #6970 from greglandrum)
- Enable in-tree builds and improve overloaded constructor docstrings
(github pull #6980 from ptosco)
- Change the defaults for the conformer generation to be ETKDGv3
(github pull #6985 from greglandrum)
- Added fingerprints to GeneralizedSubstruct search and extended SWIG wrappers
(github pull #6991 from jones-gareth)
- Allow sanitization to be disabled in PandasTools.LoadSDF
(github issue #7019 from christophhillisch)
- Add Atom::hasValenceViolation (Take 2)
(github pull #7030 from cdvonbargen)
- Please consider exposing maxBondMatchPairs param in rdRascalMCES.RascalOptions()
(github issue #7054 from nate-russell)
- Copy stereo and substance groups during insertMol
(github issue #7064 from cdvonbargen)
- [v2 API] FileParsers
(github issue #7074 from greglandrum)
- [v2 API] Reaction Parsers
(github issue #7075 from greglandrum)
- Rationalize attachment points
(github issue #7078 from cdvonbargen)
- refactoring of MolStandardize validation module
(github pull #7085 from rvianello)
- Add a 'force' option to MolStandardizer::Uncharger
(github pull #7088 from rvianello)
- support sanitization of reaction product templates
(github pull #7095 from greglandrum)
- Support atropisomers in the conformer generator
(github pull #7098 from greglandrum)
- Compatibility with pathlib.Path
(github pull #7100 from PatrickPenner)
- Add option to sanitize reaction components like molecules
(github issue #7108 from MartaPasquini)
- [v2 API] MRV parsers
(github pull #7110 from greglandrum)
- Add v2 API for the molecule CDXML parser
(github pull #7113 from greglandrum)
- Make addStereoAnnotation public
(github issue #7140 from cdvonbargen)
- optimize batch operations when editing molecules
(github pull #7145 from bp-kelley)
- V2 API for the MolSuppliers
(github pull #7168 from greglandrum)
- Improve output of debugMol
(github pull #7172 from greglandrum)
- update cookbook, draw molecule with atom indices
(github pull #7173 from nbehrnd)
- Colinear bonds in depiction cause stereo to be lost when converting to mol block
(github issue #7177 from mps-hlx)
- Update MinimalLib Dockerfiles
(github pull #7182 from ptosco)
- allow perception of stereo from T-shaped structures
(github pull #7183 from greglandrum)
- switch the TFD code to use a fingerprint generator
(github pull #7187 from greglandrum)
- Don't reset computed properties if already empty
(github pull #7188 from rachelnwalker)
- Enhance molzip to properly handle RGroupDecompositions
(github pull #7202 from bp-kelley)
- Add some ExplicitBitVect operations to Swig
(github pull #7204 from jones-gareth)
- Some modernization of core GraphMol classes
(github pull #7228 from greglandrum)
- Custom decimal precision
(github pull #7229 from PatrickPenner)
- Add Double Cubic Lattice Volume (DCLV).
(github pull #7234 from RPirie96)
- feat(minilib): expose the options parameter in get_inchi
(github pull #7240 from BenoitClaveau)
- Postpone clearing computed properties until after all Hs removed
(github pull #7241 from rachelnwalker)
- Speed up cleanMolStereo
(github pull #7244 from ricrogz)
- add HetAtomProtomerv2
(github pull #7253 from greglandrum)
- Support zero order bonds in V3K CTABs
(github pull #7269 from greglandrum)
- add option to symmetrize conjugated terminal groups when RMS pruning conformers
(github pull #7270 from greglandrum)
## Bug Fixes:
- STEREOANY bonds lead to non-stable SMILES/SMARTS strings
(github issue #5499 from ricrogz)
- Chemical reactions with radicals cannot be pickled and unpickled.
(github issue #5890 from sitanshubhunia)
- Postgresql: exact search showing false with radicals from CXSMILES
(github issue #6276 from sitanshubhunia)
- CXSMILES: atom with labels should not also have `dummyLabel` property set
(github issue #6309 from greglandrum)
- Query Features: Different input format leads to a different molecule
(github issue #6349 from kienerj)
- non-physical radical counts being preserved
(github issue #6370 from greglandrum)
- MolEnumerator: use repeat counts for SRUs when present
(github issue #6429 from greglandrum)
- Unexpected non-matching ElementGraph hashes
(github issue #6472 from jepdavidson)
- Fixes for canonicalization, and stereochemistry
(github pull #6743 from tadhurst-cdd)
- MCS query incorrect when ringCompare=RingCompare.StrictRingFusion
(github issue #6773 from d-b-w)
- Fixes bug in get_sss_json()
(github pull #6806 from ptosco)
- SWIG builds failing on Windows
(github pull #6808 from jones-gareth)
- Double bonds should not be depicted as crossed bonds in the presence of wavy bonds
(github issue #6816 from ptosco)
- We should be able to run the tests without boost::iostreams
(github issue #6818 from greglandrum)
- Fix stereo bond corruption on RGD.
(github pull #6832 from jones-gareth)
- MurckoScaffold.MakeScaffoldGeneric() has issues with isotopes
(github issue #6836 from dehaenw)
- Fix unclosed resource in BuildFuncGroupHierarchy
(github pull #6846 from ricrogz)
- RGD: Fix doEnumeration true for cores that are not bundles
(github pull #6857 from jones-gareth)
- Fix build error when serialization is off.
(github pull #6867 from vslashg)
- Wavy bonds in mol blocks can't be stereo enumerated
(github issue #6876 from bp-kelley)
- CDXML read of AND1 group (specifying racemic center) gets associated into an OR1 group
(github issue #6887 from pechersky)
- Segfault in JSONToMols when "commonchem" is an int
(github issue #6890 from i-tub)
- reapplyMolBlockWedging() should retain ENDDOWNRIGHT, ENDUPRIGHT dirs
(github issue #6893 from ptosco)
- MMPA FragmentMol segfaults when new stereo perception is turned on
(github issue #6900 from jasondbiggs)
- PositionVariationOp::getVariationCounts() does unnecessary copies of vectors
(github issue #6906 from whosayn)
- Obtaining descriptors via Descriptors.descList results in duplication of SPS.
(github issue #6928 from wsuzume)
- Some Clang-specific build instructions skip some clang compilers on mac
(github issue #6941 from whosayn)
- With new stereo, removing H from an Imine double bond does not remove bond stereo
(github issue #6944 from ricrogz)
- FindMolChiralCenters should honor RDK_USE_LEGACY_STEREO_PERCEPTION
(github issue #6945 from ricrogz)
- generateDepictionMatching2DStructure does not optimally align when refPatt!=None, allowRGroups=False, alignOnly=True
(github issue #6952 from ptosco)
- SpacialScore ignores undefined bond stereo
(github issue #6957 from jasondbiggs)
- GetAtomPairFingerprint yields different rooted FP from generator
(github issue #6958 from ptosco)
- DetermineBonds() for PH3 yields no bonding
(github issue #6961 from dhibbit)
- Highlights of triple bonds come out wrong
(github issue #6968 from DavidACosgrove)
- MaeMolSupplier cannot read dummy atoms from Maestro files
(github issue #6973 from ricrogz)
- Chem.FindMolChiralCenters function should not be sensitive to atom-map numbers
(github issue #6975 from skystreet8)
- Parsing a Mol leaks the "_needsDetectBondStereo" property
(github issue #6981 from ricrogz)
- SubstructMatch maxRecursiveMatches is not being honored
(github issue #6983 from ricrogz)
- HierarchicalClusterPicker::pick() randomly fails with Invariant Violation
(github issue #7001 from ricrogz)
- rdkit.Dbase doesn't work correctly with Python 3.12
(github issue #7009 from rvianello)
- "Inconsistent state" when manually sanitizing and assigning stereo when using the new stereo algorithm
(github issue #7023 from ricrogz)
- Spacing bug in compute2DCoordsForReaction
(github issue #7028 from KevKeating)
- Update distance bounds calculation for conjugated double bonds in macrocycles
(github pull #7032 from fwaibl)
- Middle line in triple bond drawn to incorrect point when a wedged bond is present
(github issue #7036 from greglandrum)
- fragmentation of mol loses any sgroups
(github pull #7056 from tadhurst-cdd)
- CSharp Wrapper ExtendedQueryMol Read Access Violation
(github issue #7069 from jones-gareth)
- removing an atom should not remove all stereo groups involving that atom.
(github issue #7071 from greglandrum)
- Sanitizing and assigning stereo twice can change bond stereo with new stereo
(github issue #7076 from ricrogz)
- testConrec.cpp:130 fails on ARM64
(github issue #7083 from bjonnh-work)
- Wrong stereochemistry in embedded rings from stereospecific SMILES
(github issue #7109 from brje01)
- Quaternary nitrogens with hydrogens are not a candidate for stereo
(github issue #7115 from bp-kelley)
- Some metal centers get radical electrons
(github issue #7122 from cdvonbargen)
- AddHs sets "no implicit Hs" on the atoms were Hs are added
(github issue #7123 from ricrogz)
- ReplaceBond may cause valence issues in specific edge cases
(github issue #7128 from ricrogz)
- Adding Wedge/Dash bond neighboring a stereo double bond causes a Precondition Violation
(github issue #7131 from ricrogz)
- Stereo Annotation Appears Incorrect
(github issue #7157 from lounsbrough)
- Unexpected exact mass values are returned for radium and radon
(github issue #7162 from markarchibald)
- Adding missing headers in ReactionParser.h
(github pull #7163 from tgaudin)
- fix: add PandasTools support for pandas 2.2
(github pull #7165 from AAriam)
- Fix leaking Bonds on unmatched ring closures
(github pull #7178 from ricrogz)
- fix a problem with tautomeric systems being extended too far
(github pull #7200 from greglandrum)
- Fixes #7181
(github pull #7206 from greglandrum)
- Fix Uncharger applying to already neutralized perhalic groups
(github pull #7211 from rvianello)
- Fix `Chem.Randomize.py`
(github pull #7232 from JanCBrammer)
- SGroup fields without values cause weird properties
(github issue #7246 from ricrogz)
- Remove duplicate entry in fragment descriptors
(github pull #7249 from levineds-meta)
- RDKit fails to parse "M RAD" lines were radical is 0
(github issue #7256 from ricrogz)
- Writing StereoGroups to Mol files should break lines at 80 characters
(github issue #7259 from ricrogz)
- Update ring fusion cache when needed
(github pull #7274 from ptosco)
- Ring stereo in SMILES inverted after sanitization in molecule with fragments
(github issue #7295 from greglandrum)
## Cleanup work:
- Switch over to using pytest to run the python tests
(github pull #5916 from greglandrum)
- Redundant variable`hasCoreDummies` in R-group decomposition code
(github issue #6779 from MarioAndWario)
- cmake cleanup
(github pull #6814 from greglandrum)
- Remove boost::regex support
(github issue #6817 from greglandrum)
- remove the deprecated python implementation of MolStandardize
(github pull #6819 from greglandrum)
- Update CI, remove some warnings
(github pull #6882 from greglandrum)
- Deprecate some of the ancient python-based ML code
(github pull #6891 from greglandrum)
- Remove boost::regex support #6817
(github pull #6913 from whosayn)
- Fix minimal build, allow building without boost::serialization
(github pull #6932 from greglandrum)
- Drop unrequired zlib include which may break the windows build
(github pull #6966 from ricrogz)
- Compile time and runtime deprecation warnings
(github pull #7004 from greglandrum)
- New tests for specical query atoms and atropisomers
(github pull #7010 from tadhurst-cdd)
- fix GCC 13.2 warnings about redundant move in return statement
(github pull #7029 from rvianello)
- fix check of python version when updating Filters.cpp
(github pull #7035 from rvianello)
- fix several warnings originating from the swig wrappers
(github pull #7063 from rvianello)
- lock the versions of a bunch of stuff used in the CI builds
(github pull #7082 from greglandrum)
- remove deprecated packages from rdkit.ML
(github pull #7107 from greglandrum)
- require SWIG 4.1+ at cmake config time
(github pull #7139 from rvianello)
- RGD code cleanup
(github pull #7186 from ptosco)
- remove the broken Dbase.DbReport module
(github pull #7227 from greglandrum)
- remove a bunch of std::endls
(github pull #7233 from greglandrum)
- Avoid rebuilding FreeSASA at every build for no good reason
(github pull #7245 from ptosco)
## Code removed in this release:
- The python implementations of MolStandardize has been removed.
Please use the implementation in `rdkit.Chem.MolStandardize.rdMolStandardize` instead.
- The rdkit.six module, a leftover from the days when we supported both python 2
and python 3, has been removed
- The RDKit implementation of standard machine learning algorithms has been
removed. The affected packages include: rdkit.ML.Composite, rdkit.ML.DecTree,
rdkit.ML.KNN, rdkit.ML.ModelPackage, rdkit.ML.NaiveBayes, rdkit.ML.Neural
rdkit.ML.{Analyze,Screen,Grow,Build}Composite, rdkit.ML.CompositeRun,
rdkit.ML.EnrichPlot
- The Dbase.DbReport package was no longer working and has been removed.
## Deprecated code (to be removed in a future release):
- The PDBMolSupplier class has been deprecated and will be removed in the next release
- The legacy Python code for drawing molecules has been deprecated and will be removed in the next release. This includes the following modules in rdkit.Chem.Draw: aggCanvas, cairoCanvas, canvasbase, MolDrawing, mplCanvas, qtCanvas, spingCanvas; the functions Draw.MolToImageFile(), Draw.MolToMPL(), and Draw.MolToQPixmap(); the "canvas" argument to the function Draw.MolToImage(); and calling Draw.MolToFile() with imageTypes other than PNG or SVG,
# Release_2023.09.1
(Changes relative to Release_2023.03.1)
## Acknowledgements
(Note: I'm no longer attempting to manually curate names. If you would like to
see your contribution acknowledged with your name, please set your name in
GitHub)
Jason Biggs, Jonathan Bisson, David Cosgrove, Andrew Dalke, Christian W.
Feldmann, Eloy Félix, Richard Gowers, Tadd Hurst, Gareth Jones, Eisuke
Kawashima, Brian Kelley, Joos Kiener, Juuso Lehtivarjo, John Mayfield, Vedran
Miletić, Jeremy Monat, Dan Nealschneider, Timothy Ngotiaoco, Axel Pahl, Rachael
Pirie, Ricardo Rodriguez-Schmidt, Ernst-Georg Schmid, Paolo Tosco, Ivan
Tubert-Brohman, Riccardo Vianello, Rachel Walker, Maciej Wójcikowski, pierred5,
lhyuen, paconius, BartlomiejF, thomp-j, wangyingxie, teltim, Meteor-han,
abefrandsen,
## Highlights
- The new RascalMCES code adds a very fast maximum common substructure
implementation for pairs of molecules.
- The RDKit core now supports "generalized substructure searching", making it
easier to take link nodes, variable attachment points, and tautomer queries
into account when doing substructure searches. This is now also supported in
the PostgreSQL cartridge.
- The RDKit now has support for reading and writing MRV files.
## Backwards incompatible changes
- The CDXML parser now returns mols with reasonable coordinates and in
the same coordinate axes as the other RDKit file parsers.
- All methods returning `JSMol` and `JSReaction` objects now return a
`nullptr` (`null` in JS) when faling to generate a valid object, while
previously they were returning objects whose `is_valid()` method would
return `false`. The new implementation avoids the overhead of having to
call `delete()` on invalid objects and was approved in a
[public discussion on the `rdkit-js` GitHub repository](
https://github.com/rdkit/rdkit-js/discussions/336)
- In JS MinimalLib, `MolIterator` was renamed to `MolList`: since now it
includes `at()`, `append()`, `insert()` and `pop()` methods, `MolIterator`
felt inappropriate. This change should have minimal impact on existing
JS code since so far there was no constructor for this class.
The only place where JS code needs to be updated is when parsing the return
value of `JSMol::get_frags()`: the return value consists of an object with
two keys, `molIterator` and `mappings`. The `molIterator` key has now
been renamed to `molList`.
- The user-configurable `MCSParameters::FinalMatchChecker` function is now
called after the built-in `FinalMatchChecker` function, rather as
alternatively to the built-in `FinalMatchChecker` function. This was a
design flaw which is worth correcting.
- Setting `MCSParameters::Timeout` to 0 means no timeout, rather than 0s
timeout, which is rather pointless as it would cause MCS to be canceled
immediately.
- Result SMARTS strings generated by `FindMCS` when
`MCSParameters::MatchRingFusionStrict` is `true` now include ring membership
queries where appropriate in order to ensure more specific substructure
matches.
- In MCS Verbose statistics, `SingleBondExcluded` was renamed to
`IndividualBondExcluded` to avoid confusion, since single bond has a
different meaning in chemistry.
- The error messages from failed type conversions in calls to `GetProp()` now
differ slightly between compilers. Instead of always including "boost::bad_any
cast", they now need to be matched with the regex `[B,b]ad any[\ ,_]cast`
- The functions for determining connectivity in DetermineBonds now use a more
efficient method by default. To go back to the old behavior, set the useVdw argument
to True.
- The algorithm for perception of atomic stereochemistry from 2D structures has
been rewritten. The new algorithm is more accurate, which results in some
differences in perceived stereo between this release and the previous ones.
- Information about stereo groups is no longer used in the SMILES
canonicalization process if CXSMILES are not being generated.
## New Features and Enhancements:
- Mols matrix to grid image
(github pull #6080 from bertiewooster)
- Reduce space overhead of enabling the inclusion of properties when serializing molecules
(github issue #6312 from rvianello)
- Add optional sortsupport methods to the PostgreSQL GiST indices
(github pull #6313 from rvianello)
- Add a new parameter to mol_adjust_query_properties for generic query parameters
(github pull #6332 from bjonnh-work)
- add DebugDraw() function
(github pull #6340 from greglandrum)
- Optimize GetPropsFromDict: use tags for conversion
(github pull #6355 from bp-kelley)
- Fix cleanupOrganometallics and reinstate to sanitisation
(github pull #6357 from DavidACosgrove)
- postgres cartridge: cleanup a few obsolete build options
(github pull #6363 from rvianello)
- Fixes some issues in the SubstructLibrary JS implementation
(github pull #6385 from ptosco)
- Support TautomerQuery and MolBundle queries in the cartridge
(github pull #6393 from greglandrum)
- JS: Implement in-place aromatisation/kekulisation and avoid undesired exception
(github pull #6407 from ptosco)
- Optionally expose MCS to JS and extend optional compilation to JSReaction and JSSubstructLibrary
(github pull #6409 from ptosco)
- Add a method "HasQuery()" to Mol class
(github issue #6411 from kienerj)
- Enable using JSSubstructLibrary without pattern fps
(github pull #6431 from ptosco)
- Add support for generalized substructure searching
(github pull #6443 from greglandrum)
- Add atom and bond property parameters to substruct matching
(github pull #6453 from rachelnwalker)
- Replace a try..catch block with an if clause
(github pull #6488 from ptosco)
- Add an in place version of most of the MolStandardize functionality
(github pull #6491 from greglandrum)
- Exposed partial sanitization options to MinimalLib (both JS and CFFI)
(github pull #6519 from ptosco)
- Optionally forward Enhanced Stereo Group ids
(github pull #6560 from ricrogz)
- Add support for dative bonds in MOL files
(github pull #6566 from bjonnh-work)
- RASCAL MCES
(github pull #6568 from DavidACosgrove)
- Support additional generic groups
(github pull #6570 from bjonnh-work)
- Add support for Marvin files
(github pull #6575 from bjonnh-work)
- Add a "rootedAtAtom" to MolToSmarts
(github pull #6581 from ricrogz)
- RGD to support tautomers of core
(github issue #6609 from jones-gareth)
- Fix some build warnings
(github pull #6618 from ricrogz)
- Exposed log capture functionality to MinimalLib
(github pull #6628 from ptosco)
- add option to use sequential random seeds in the conformer generator
(github pull #6639 from greglandrum)
- Major MCS refactoring: new features and bug fixes
(github pull #6646 from ptosco)
- Lasso highlights
(github pull #6653 from DavidACosgrove)
- extract continuous lines from the conrec code
(github pull #6676 from greglandrum)
- Allow some tolerance in flatness determination
(github pull #6696 from ricrogz)
- Do not trust the 2D/3D tag in ctab mol files
(github pull #6697 from ricrogz)
- expose the CDXML reaction parsers to python
(github pull #6700 from greglandrum)
- Add hasQueryHs
(github pull #6702 from bp-kelley)
- Exporting to mol marks imine bonds EITHERDOUBLE when imine H is implicit
(github issue #6703 from ricrogz)
- Use the connect-the-dots algorithm by default in DetermineBonds
(github pull #6740 from greglandrum)
- Add function to calculate all 3D descriptors
(github pull #6741 from RPirie96)
- Add SpacialScore
(github pull #6742 from apahl)
- Extract the core matching logic into a separate function
(github pull #6754 from ptosco)
## Bug Fixes:
- rdFMCS.FindMCS uses huge amounts of memory for this pair of molecules when CompleteRingsOnly is True
(github issue #3965 from i-tub)
- PF6- still can not get Bad Conformer Id after the #510 issue fix
(github issue #5145 from wangyingxie)
- Order dependence for rdFMCS.FindMCS with MatchFusedRingsStrict
(github issue #5411 from pierred5)
- Failed FMCS results with certain seed SMARTS and MatchFusedRings* parameters on
(github issue #5440 from pierred5)
- Seed SMARTS to FindMCS() produces incorrect MCS
(github issue #5457 from pierred5)
- FindMCS returns wrong result with monoatomic molecules
(github issue #5510 from ptosco)
- queryMol from FindMCS doesn't match mols used to generate MCS
(github issue #6082 from paconius)
- Crash when parsing InChI
(github issue #6172 from eloyfelix)
- Iteration over Python GetAtoms is 10-20x slower than need be
(github issue #6208 from d-b-w)
- refactor(python): replace deprecated unittest methods
(github pull #6304 from e-kwsm)
- generateDepictionMatching2DStructure: bonds to R groups should be generic when matching
(github pull #6306 from ptosco)
- MolToSmiles(canonical=False) creates the wrong _smilesBondOutputOrder property
(github issue #6315 from adalke)
- MolToMolBlock ignores unspecified information for double bonds in rings
(github issue #6316 from mwojcikowski)
- bump yaehmop version
(github pull #6330 from greglandrum)
- rdMolDraw2D.MolDraw2DCairo produces Pre-condition Violation: no draw context when SetColour, DrawRect or DrawLine was called.
(github issue #6336 from lhyuen)
- Added cstdint include
(github pull #6338 from vedranmiletic)
- remove the dependency from python distutils in the top CMakeLists.txt file
(github pull #6339 from rvianello)
- take drawOptions into account when exporting structure to xlsx format
(github pull #6341 from ptosco)
- Fix swig memory leak
(github pull #6346 from jones-gareth)
- Add inlines to ForceFieldHelpers header functions
(github pull #6356 from JLVarjo)
- Bug relating to this PF6- still can not get Bad Conformer Id
(github issue #6365 from teltim)
- straightenDepiction should not consider 0-degree rotations as multiples of 60
(github pull #6367 from ptosco)
- expose two missing EmbedFailureCauses tags to python
(github pull #6372 from greglandrum)
- Molfile Unsaturation Query Not Parsed Correctly
(github issue #6395 from timothyngo)
- MolDraw2D: chiral tag overlapping atom label
(github issue #6397 from greglandrum)
- MolDraw2D: increasing padding results in the legend not being displayed
(github issue #6400 from greglandrum)
- expose some missing CXSmiles flags to python
(github pull #6415 from greglandrum)
- V3000 structure segfaults when converting to SVG
(github issue #6416 from ergo70)
- WedgeMolBonds won't wedge/dash a 2nd bond when input already has a wedge/dash around the same chiral atom
(github issue #6423 from ricrogz)
- MolEnumerate should clear the reaction properties on its results
(github issue #6432 from greglandrum)
- RDKit hangs indefinitely when parsing not so big molblock
(github issue #6434 from eloyfelix)
- Removing Hs on a pyrrol-like structure throws kekulization error
(github issue #6437 from ricrogz)
- Molecules from CDXML Parser have inverted, unrealistic atomic coordinates
(github issue #6461 from greglandrum)
- CDXML Parser does not preserve information about bond wedging
(github issue #6462 from greglandrum)
- boost::bad_any_cast error when calling getProp<string> on properties set by applyMolListPropsToAtoms<int64_t>
(github issue #6465 from rachelnwalker)
- Allow systems like C/C=N/[H] to be stereogenic with the new chirality code
(github pull #6473 from greglandrum)
- Fix RWMol::addAtom docstring
(github pull #6477 from d-b-w)
- StereoGroup information should not impact canonicalization when CXSMILES isn't being generated
(github issue #6479 from greglandrum)
- Fix a few broken docstrings
(github pull #6480 from ptosco)
- pin numpy to 1.24.3
(github pull #6483 from bp-kelley)
- CMAKE_INSTALL_PREFIX not honored for Python files installation on Windows
(github pull #6485 from ricrogz)
- Fixed tests that weren't being run in testDepictor.py
(github pull #6486 from rachelnwalker)
- Get tests to work when building without exception support (i.e., legacy pure JS library)
(github pull #6487 from ptosco)
- Fixes rdkit-js/issues/347
(github pull #6490 from ptosco)
- Make sure that molecules are shown as images by PandasTools also when DataFrames are truncated horizontally
(github pull #6496 from ptosco)
- MolToMolBlock writes "either" stereo for double bonds which shouldn't be stereo
(github issue #6502 from ricrogz)
- Double bonds are not correctly drawn on sulfoximines
(github issue #6504 from ptosco)
- RegistrationHash.GetMolLayers() with v2 tautomer hash does not filter CX extensions
(github issue #6505 from ricrogz)
- Drop the s_m_color_rgb property from MaeWriter
(github pull #6511 from ricrogz)
- update avalontools version to incorporate bug fixes
(github pull #6513 from ptosco)
- update windows DLL CI build config
(github pull #6535 from greglandrum)
- Add MolEnumerator to C#
(github pull #6542 from jones-gareth)
- MolDraw2D: placement of bond or atom labels gets confused when atoms overlap
(github issue #6569 from greglandrum)
- partial MCS failure
(github issue #6578 from greglandrum)
- Fix vulnerabilities found by fuzzer.
(github pull #6579 from thomp-j)
- allow building the cartridge against PostgreSQL 16
(github pull #6580 from ptosco)
- SIGSEGV while calculating molecular descriptors after using salt remover.
(github issue #6592 from BartlomiejF)
- Add newline to ConstrainedEmbed docstring.
(github pull #6596 from DavidACosgrove)
- Avoid leaking memory in case exceptions are thrown while generating FPs
(github pull #6630 from ptosco)
- Pre-condition violation in canonicalization of dative bond adjacent to double bond
(github issue #6633 from ricrogz)
- Incorrect most abundant isotope for Vanadium
(github issue #6638 from abefrandsen)
- Simple imine-containing molecule causes an infinite loop in FindStereo.cpp
(github issue #6640 from ptosco)
- Mol file parser strips stereogenic H from imine bonds
(github issue #6664 from ricrogz)
- ROMol move constructor and assignment do not update SubstanceGroup ownership
(github issue #6681 from ricrogz)
- Flexicanvas cuts off bottom of reaction
(github issue #6685 from DavidACosgrove)
- make sure bond attachpt info is pickled
(github pull #6698 from greglandrum)
- Catch meanBondLen of 0.0
(github pull #6699 from DavidACosgrove)
- Add trans layout for double bonds in rings
(github pull #6709 from d-b-w)
- Segmentation fault in MMFF
(github issue #6728 from Meteor-han)
- Fix chirality handling when the chiral atom is the first one in a SMARTS
(github pull #6730 from johnmay)
- ConnectTheDots can segfault if all atoms do not have residue info
(github issue #6756 from jasondbiggs)
- _moltoimg() should honor drawOptions.prepareMolsBeforeDrawing
(github issue #6792 from ptosco)
## Cleanup work:
- adjustQueryProperties cleanup
(github pull #6361 from ptosco)
- Fix identical for-loop variable names
(github pull #6391 from JLVarjo)
- Deprecate JSMol::is_valid() and JSReaction::is_valid() and return nullptr instead
(github pull #6392 from ptosco)
- misc jswrapper.cpp cleanup
(github pull #6449 from ptosco)
- Deprecate the pure python MolStandardize implementations.
(github pull #6548 from greglandrum)
- clear up some compiler warnings
(github pull #6627 from greglandrum)
- switch from boost::any to std::any
(github pull #6662 from greglandrum)
- Fail CI builds on compiler warnings + some fixes
(github pull #6675 from ricrogz)
- fix some more leaks
(github pull #6684 from ricrogz)
- Some small cleanups from the UGM Hackathon
(github pull #6744 from greglandrum)
- some modernization of the memory handing in the canonicalization code
(github pull #6763 from greglandrum)
## Code removed in this release:
- The `compare` and `callback` methods (deprecated since release 2021.01)
were removed from the `MCSProgress`, `MCSBondCompare` and `MCSAtomCompare`
Python classes of the `rdFMCS` module. Both `compare` and `callback` methods
were replaced by `__call__`.
- The `SetAtomTyper` and `SetBondTyper` methods (deprecated since release 2021.01)
were removed from the `MCSParameters` Python class of the `rdFMCS` module.
The methods were replace by read-write properties `AtomTyper` and `BondTyper`,
respectively.
## Deprecated code (to be removed in a future release):
- JSMol::is_valid() and JSReaction::is_valid() are now deprecated and always
return true, as invalid `JSMol` and `JSReaction` cannot exist anymore.
- The python implementations of MolStandardize will be removed in the next release.
Please use the implementation in `rdkit.Chem.MolStandardize.rdMolStandardize` instead.
# Release_2023.03.1
(Changes relative to Release_2022.09.1)
## Acknowledgements
(Note: I'm no longer attempting to manually curate names. If you would like to
see your contribution acknowledged with your name, please set your name in
GitHub)
Michael Banck, Christopher Von Bargen, Jason Biggs, Jonathan Bisson, Jacob
Bloom, shang chien, David Cosgrove, Iren Azra Azra Coskun, Andrew Dalke, Eloy
Félix, Peter Gedeck, Desmond Gilmour, Mosè Giordano, Emanuele Guidotti, Tad
Hurst, Gareth Jones, Calvin Josenhans, Maria Kadukova, Brian Kelley, Joos
Kiener, Chris Kuenneth, Martin Larralde, Krzysztof Maziarz, Jeremy Monat, Michel
Moreau, Rocco Moretti, Lucas Morin, Dan Nealschneider, Noel O'Boyle, Vladas
Oleinikovas, Rachael Pirie, Ricardo Rodriguez-Schmidt, Vincent F. Scalfani,
Gregor Simm, Marco Stenta, Georgi Stoychev, Paolo Tosco, Kazuya Ujihara,
Riccardo Vianello, Franz Waibl, Rachel Walker, Patrick Walters,
'dangthatsright', 'mihalyszabo88', 'Deltaus', 'radchenkods',
'josh-collaborationspharma', 'jkh', 'yamasakih'
## Highlights
- The 2D coordinate generation can now optionally use templates when working with complex ring systems. We will continue to improve this functionality in future releases.
- There's now a single function which allows you to calculate all available 2D descriptors for a molecule: Descriptors.CalcMolDescriptors()
- Support for working with organometallic molecules has improved: drawings of these structures are now better and there's new code for switching back and forth between dative and multi-center views of the bonding in systems like ferrocene.
- The fingerprint generator code has been improved and expanded with the idea of allowing user to switch entirely to the new code for the supported fingerprint types: Morgan, RDKit, topological torsion, and atom pairs.
## Backwards incompatible changes
- The ring-finding functions will now run even if the molecule already has ring information. Older versions of the RDKit would return whatever ring information was present, even if it had been generated using a different algorithm.
- The ring-finding functions now no longer consider dative bonds as possible ring bonds by default. All of the ring-finding functions have a new optional argument `includeDativeBonds` which can be used to change this behavior
- Generating 2D coordinates no longer has the side effect of running ring finding on molecules.
- The canonical SMILES and CXSMILES generated for molecules with enhanced stereochemistry (stereo groups) is different than in previous releases. The enhanced stereochemistry information and the stereo groups themselves are now canonical. This does *not* affect molecules which do not have enhanced stereo and will not have any effect if you generate non-isomeric SMILES. This change also affects the output of the MolHash and RegistrationHash code when applied to molecules with enhanced stereo.
- The doIsomericSmiles parameter in Java and C# ROMol.MolToSmiles() now defaults to true (previously it was false), thus aligning to the C++ and Python behavior.
- Double bonds which are marked as crossed (i.e. `bond.GetBondDir() == Bond.BondDir.EITHERDOUBLE`) now have their BondStereo set to `Bond.BondStereo.STEREOANY` and the BondDir information removed by default when molecules are parsed or `AssignStereochemistry()` is called with the `cleanIt` argument set to True.
- The conformers generated for molecules with three-coordinate chiral centers will be somewhat different due to the fix for #5883.
- Molecules which come from Mol or SDF files will now always have the "_MolFileChiralFlag" property set to the value of the chiral flag in the CTAB. In previous versions the property was not set if the chiral flag was 0.
## Bug Fixes:
- GetSubstructMatches uniquify and maxMatches don't work well together
(github issue #888 from adalke)
- DrawRDKBits raised RDKit error when it applied to the compounds that contains imidazole.
(github issue #2164 from yamasakih)
- MolFromMol2File: O.co2 atom type correctness check ignores phosphate groups
(github issue #3246 from chmnk)
- Enhanced Stereo is lost when using GetMolFrags(m, asMols=True)
(github issue #4845 from kienerj)
- Segfault with coordgen v3.0.0
(github issue #4845 from lucasmorin222)
- Dative bond and alkali and alkaline earth metals
(github issue #5120 from marcostenta)
- RGD Stereochemistry in decomposed structure is not copied to the matching core
(github issue #5613 from jones-gareth)
- fp.ToList() fails for empty molecule
(github issue #5677 from baoilleach)
- SMILES and SMARTS parse bonds in a different order
(github issue #5683 from ricrogz)
- postgresql makefile needs to be updated to use c++17
(github issue #5685 from mbanck)
- Exception raised when reading very large SMILES file
(github issue #5692 from DavidACosgrove)
- Update warning message about aromaticity detection
(github pull #5696 from d-b-w)
- stop building catch_main when tests are disabled
(github pull #5697 from greglandrum)
- Make PandasTools.RGroupDecompositionToFrame re-entrant
(github pull #5698 from greglandrum)
- PandasTools.RGroupDecompositionToFrame() should call ChangeMoleculeRendering()
(github issue #5702 from greglandrum)
- MolDraw2D should automatically set bond highlight color when atom colors are changed
(github issue #5704 from greglandrum)
- Use correct `_WIN32` macro for checking Windows target
(github pull #5710 from giordano)
- Environment not set properly in chirality tests for MinGW builds
(github pull #5711 from ptosco)
- windows.h header should be lowercase
(github pull #5712 from ptosco)
- Fixes bond index parsing for w/c/t/ctu labels in CXSMILES/CXSMARTS
(github pull #5722 from ricrogz)
- Fix a deprecation warning in pythonTestDirRoot
(github pull #5723 from ricrogz)
- allowNontetrahedralChiralty should be honored when reading/writing SMILES
(github pull #5728 from greglandrum)
- CFFI/MinimalLib fixes
(github pull #5729 from ptosco)
- Allow setting custom FREETYPE_LIBRARY/FREETYPE_INCLUDE_DIRS through CMake
(github pull #5730 from ptosco)
- Missing update path for postgreSQL from 3.8 to 4.2
(github issue #5734 from Deltaus)
- Avoid passing a NULL pointer to CanSmiles()
(github pull #5750 from ptosco)
- CDXML reader incorrectly sets stereo on crossed double bonds
(github issue #5752 from baoilleach)
- `R` atom label information lost in molfile if not backed by a `M RGP` entry
(github issue #5763 from eloyfelix)
- Missing monomer labels when depicting `MON` SGroups
(github issue #5767 from eloyfelix)
- Wrongly oriented SGroup bracket
(github issue #5768 from eloyfelix)
- Adjust LocaleSwitcher on Windows when RDK_BUILD_THREADSAFE_SSS not set
(github pull #5783 from roccomoretti)
- KekulizationException in tautomer canonicalization
(github issue #5784 from d-b-w)
- ChemicalReactionToRxnBlock ignores separateAgents if forceV3000 is true
(github issue #5785 from jacobbloom)
- extend the allowed valences of the alkali earths
(github pull #5786 from greglandrum)
- Minimallib build (rdkit-js) not working for release 2022.09.2
(github issue #5792 from MichelML)
- Remove dependency on MSVC runtime DLL in MinGW builds
(github pull #5800 from ptosco)
- Update macOS target platform to 10.13
(github pull #5802 from ptosco)
- `R#` atom label information lost in molfile if not handled by the `RGP` spec
(github issue #5810 from eloyfelix)
- Stop using recommonmark in the documentation
(github issue #5812 from greglandrum)
- Properties with new lines can create invalid SDFiles
(github issue #5827 from bp-kelley)
- Allow building PgSQL RPM and DEB packages
(github pull #5836 from ptosco)
- Additional output is incorrect when FP count simulation is active
(github issue #5838 from ptosco)
- Explicit valence check SiPa13fails for certain SMILES
(github issue #5849 from josh-collaborationspharma)
- Set emsdk path for freetype in emscripten builds
(github pull #5857 from ptosco)
- DrawMorganBit fails by default
(github issue #5863 from eguidotti)
- Fix #5810 in V2000 mol files.
(github pull #5864 from eloyfelix)
- Chemical drawings should be automatically enabled on Colab
(github pull #5868 from kuelumbus)
- use enhanced stereo when uniquifying in SimpleEnum
(github pull #5874 from greglandrum)
- Conformer Generation Fails for three-coordinate Ns with specified stereo
(github issue #5883 from gncs)
- Fix documentation example for KeyFromPropHolder
(github pull #5886 from gedeck)
- Allow unrecognized atom types when strictParsing=False
(github pull #5891 from greglandrum)
- DetermineBonds assigning methyl carbon as tetrahedral center
(github issue #5894 from jasondbiggs)
- numpy.float is no longer supported and causes exceptions
(github issue #5895 from PatWalters)
- moldraw2DTest1 failure when building on aarch64
(github issue #5899 from vfscalfani)
- DetermineBondOrders running out of memory on medium-sized disconnected structure
(github issue #5902 from jasondbiggs)
- clear MDL Rgroup labels from core atoms when we aren't using them
(github pull #5904 from greglandrum)
- Conformer generator produces strange structure for substituted butadiene
(github issue #5913 from gncs)
- `MHFPEncoder::Distance` doesn't compute a (Jaccard) distance
(github issue #5919 from althonos)
- AvalonTools: Avoid that trailing garbage pollutes the fmemopen buffer
(github pull #5928 from ptosco)
- "not" queries in molfiles get inverted
(github issue #5930 from d-b-w)
- CalcTPSA() doesn't use options when caching
(github issue #5941 from greglandrum)
- Bad drawing of end points for dative bonds
(github issue #5943 from DavidACosgrove)
- Extremes of drawn ellipses not being calculated correctly.
(github issue #5947 from DavidACosgrove)
- Arrow heads of dative bonds are different sizes
(github issue #5949 from DavidACosgrove)
- stop caching ring-finding results
(github pull #5955 from greglandrum)
- Wrong bond endpoint when connecting to wedge bond in 2D image
(github issue #5963 from stgeo)
- Tiny change to get demo.html to load in legacy browsers
(github pull #5964 from ptosco)
- detect bad double bond stereo in conformer generation
(github pull #5967 from greglandrum)
- drawing code should not generate kekulization errors
(github issue #5974 from greglandrum)
- Adjust expected test results for newer freetype versions
(github pull #5979 from greglandrum)
- CanonicalRankAtomsInFragment example in the documentation is not reproducible
(github issue #5986 from chmnk)
- Exception in RegistrationHash for molecules with bad bond directions
(github pull #5987 from d-b-w)
- Updated the GetMolHash docstring for accuracy
(github pull #5988 from irenazra)
- Fix a problem with pickling molecules with more than 255 rings
(github pull #5992 from greglandrum)
- Support Python 3.11
(github pull #5994 from greglandrum)
- Incorrect disconnection of CC(=O)O[Mg]OC(=O)C
(github issue #5997 from DavidACosgrove)
- PostgreSQL autovacuum stuck when molecules with query features are stored in mol columns
(github issue #6002 from mihalyszabo88)
- Remove `and` from C++ headers
(github pull #6003 from d-b-w)
- [PH3] incorrectly recognized as potential stereo center
(github issue #6011 from greglandrum)
- Potential nontetrahedral stereo is recognized when nontetrahedral stereo is disabled.
(github issue #6012 from greglandrum)
- MolEnumerator is not propagating query information to molecules
(github issue #6014 from greglandrum)
- Reactions do not propagate query information to products
(github issue #6015 from greglandrum)
- Error rendering to very small canvas
(github issue #6025 from DavidACosgrove)
- Bad double bond drawn for collinear atoms
(github issue #6027 from DavidACosgrove)
- Fix some minor leaks
(github pull #6029 from ricrogz)
- Cannot draw molecule which includes an atom with a `[!#X]` query (for any X)
(github issue #6033 from ShangChien)
- FragmentOnBonds may create unexpected radicals
(github issue #6034 from ricrogz)
- Calling MurckoScaffold on molecule causes bug in pickling
(github issue #6036 from dangthatsright)
- Bump maeparser and coordgen versions
(github pull #6039 from ricrogz)
- enhanced stereo is still included in CXSMILES if isomericSmiles=False
(github issue #6040 from greglandrum)
- Issues with ACS1996 drawing mode on a small canvas
(github issue #6041 from DavidACosgrove)
- Cyclobutyl group in a macrocycle triggers a stereo center
(github issue #6049 from cdvonbargen)
- stereogroups not combined when parsing CXSMILES
(github issue #6050 from greglandrum)
- Regression in depicting molecules with MDL query atoms
(github issue #6054 from ptosco)
- Do not include dative bonds in ring finding by default
(github issue #6058 from DavidACosgrove)
- Remove check for ring information from Atom::Match
(github pull #6063 from fwaibl)
- Correct docstring for minFontSize.
(github pull #6066 from DavidACosgrove)
- Minor code cleanup
(github pull #6101 from ptosco)
- Dummy atoms should not be considered to be metals for M and MH queries
(github issue #6106 from greglandrum)
- Drawing in ACS mode crops small images
(github issue #6111 from DavidACosgrove)
- Drawing in ACS1996 mode throws ValueError: Bad Conformer Id if molecule has no coords
(github issue #6112 from DavidACosgrove)
- Single atom or queries with hydrogens shouldn't trigger warning in mergeQueryHs
(github issue #6119 from bp-kelley)
- DetermineBonds fails for single H atom
(github issue #6121 from gncs)
- MinimalLib: avoid that assignStereochemistry() fails when removeHs=true
(github pull #6134 from ptosco)
- Round-tripping a reaction through pickle changes the outputs from RunReactants
(github issue #6138 from kmaziarz)
- RGD and enhanced stereochemistry
(github issue #6146 from jones-gareth)
- MaeMolSupplier requires bond block
(github issue #6153 from cdvonbargen)
- Incorrect doule bond drawing with MolDraw2DSVG
(github issue #6160 from radchenkods)
- BondDir not cleared from bonds that aren't stereoactive
(github pull #6162 from greglandrum)
- Crossed bond not correctly drawn
(github issue #6170 from ptosco)
- ReactionFromRxnBlock fails on bond with reacting center status set
(github issue #6195 from jones-gareth)
- Possible regression in the atom/bond highlighting code
(github issue #6200 from ptosco)
- Updated README to build the PostgreSQL cartridge + bug fix
(github pull #6214 from ptosco)
- Atoms may get flagged with non-tetrahedral stereo even when it is not allowed
(github issue #6217 from ricrogz)
- Fix TorsionFingerprints for 15 membered rings
(github pull #6228 from kazuyaujihara)
- Fix build warnings
(github pull #6235 from ricrogz)
- Tri-coordinate atom with implicit + neighbor H atom is found potentially chiral
(github issue #6239 from ricrogz)
- DativeBondsToHaptic doesn't set _MolFileBondEndPts correctly.
(github issue #6252 from DavidACosgrove)
- Round-tripping ferrocene through HapticBondsToDatives loses drawing highlights.
(github issue #6253 from DavidACosgrove)
- Using Chiral Tag instead of CIPCode to ensure preservation of chirality in addHs
(github pull #6259 from HalflingHelper)
- Update assignSubstructureFilters.py
(github pull #6270 from OleinikovasV)
- deal with deprecated DataFrame.append method
(github pull #6272 from greglandrum)
- compile-time error with GCC 12.2.1 on Fedora 36
(github issue #6274 from rvianello)
- Fix UnitTestPandasTools for running without pandas installed.
(github pull #6299 from roccomoretti)
- Aromatic dashes look bad
(github pull #6303 from greglandrum)
## Cleanup work:
- Do deprecations for the 2023.03 release
(github pull #5675 from greglandrum)
- run clang_format
(github pull #5676 from greglandrum)
- Cleanup work on documentation Makefile
(github pull #5804 from greglandrum)
- Refactor RGD moving function implementations from header to source files
(github pull #5958 from jones-gareth)
- Disable POPCNT on M1
(github pull #6081 from bjonnh-work)
- Remove spurious full stops from warnings.
(github pull #6124 from DavidACosgrove)
- Reformat Python code for 2023.03 release
(github pull #6294 from ricrogz)
- Reformat C/C++ code ahead of 2023.03 release
(github pull #6295 from ricrogz)
## New Features and Enhancements:
- mol V3000: multicenter dative bond
(github issue #5121 from marcostenta)
- add molecular filter examples
(github pull #5647 from RPirie96)
- Use templates in RDKit coordinate generation
(github pull #5643 from rachelnwalker)
- add MACCS fp to the MinimalLib
(github pull #5707 from eloyfelix)
- Enable additional parameters in prepareAndDrawMolecule() and expose them to CFFI/MinimalLib
(github pull #5731 from ptosco)
- add includeRedundantEnvironments support to GetMorganGenerator
(github pull #5732 from greglandrum)
- FingerprintGenerator refactoring
(github pull #5748 from greglandrum)
- Expose RDLog to SWIG wrappers
(github pull #5749 from ptosco)
- Add a timeout protection for CIP calculations
(github pull #5772 from tadhurst-cdd)
- Expose getMolFrags in CFFI and MinimalLib
(github pull #5774 from ptosco)
- Get the wrappers working with SWIG 4.0
(github pull #5795 from greglandrum)
- Update AvalonTools to version 2.0.4a
(github pull #5796 from ptosco)
- Add early example of drawing a molecule to Getting Started with the RDKit in Python
(github pull #5803 from bertiewooster)
- Enable get_molblock(details_json) from MinimalLib
(github pull #5806 from ptosco)
- Improvements to PandasTools.SaveXlsxFromFrame
(github pull #5835 from ptosco)
- swap boost::tuple to std::tuple
(github pull #5851 from greglandrum)
- Make it easy to calculate all 2D descriptors
(github pull #5892 from greglandrum)
- Introduces AvgIpc descriptor
(github pull #5896 from greglandrum)
- Add SMILES to each group abbreviation in Cookbook
(github pull #5908 from bertiewooster)
- Support SubstanceGroups and StereoGroups in JSON
(github pull #5909 from greglandrum)
- Add info about mergeHs to README.
(github pull #5910 from DavidACosgrove)
- Cookbook - update entry 1 and add entries 38 and 39
(github pull #5918 from vfscalfani)
- Allow the sources of conformer generation failures to be retrieved
(github pull #5960 from greglandrum)
- Create getExperimentalTorsions() function
(github pull #5969 from greglandrum)
- Molblock wedging improvements
(github pull #5981 from ptosco)
- MinimalLib JS functions to add/remove Hs in place
(github pull #5984 from ptosco)
- Adds Pat Walter's Chembl Filters extraction to the FilterCatalog
(github pull #5991 from bp-kelley)
- Add depiction coordinates to molzip
(github pull #5993 from jones-gareth)
- Enable using STL algorithms on ROMol atoms and bonds
(github pull #5995 from ptosco)
- Enable building MinimalLib as a plain JS file for usage in legacy/headless browsers
(github pull #5999 from ptosco)
- Allow WriteSDF to create v3000 SDF files
(github pull #6004 from jkhales)
- add maxRecursiveMatches to SubstructMatchParameters
(github issue #6017 from greglandrum)
- Expose fingerprint generator options to python
(github pull #6024 from greglandrum)
- Allow SMARTS of zero order bonds to match zero order bonds
(github pull #6037 from d-b-w)
- Change IUPAC metal->non-metal single bonds to dative
(github pull #6038 from DavidACosgrove)
- Add canonicalization of stereo groups (enhanced stereo)
(github pull #6051 from greglandrum)
- Improve MaeMolSupplier API
(github pull #6053 from ricrogz)
- Enable optional visualization of complex query atoms in a more compact form
(github pull #6056 from ptosco)
- Start a Maestro file (.mae) writer.
(github pull #6069 from ricrogz)
- Expose some stereochemistry-related functions to SWIG wrappers
(github pull #6075 from ptosco)
- Add option to only include shortest paths for topological torsion fingerprints
(github pull #6090 from greglandrum)
- Enable "smilesSymbol" substitution in SMARTS
(github pull #6096 from ricrogz)
- Add the option to wedge two bonds at chiral centers
(github pull #6108 from greglandrum)
- Another minor code cleanup
(github pull #6109 from ptosco)
- A few SWIG tweaks
(github pull #6110 from ptosco)
- Stereochemistry-related SWIG updates
(github pull #6127 from ptosco)
- SWIG pickling improvements (and other cleanup)
(github pull #6133 from ptosco)
- Improved handling of organometallics
(github pull #6139 from DavidACosgrove)
- expose two missing QueryAtom types to python
(github pull #6158 from greglandrum)
- Support Pseudoatoms like Pol and Mod in the RegistrationHash
(github pull #6175 from irenazra)
- Better name for areBondsLinear.
(github pull #6196 from DavidACosgrove)
- add features to allow drawing molecules in arbitrary positions on a large canvas
(github pull #6210 from greglandrum)
- Support chirality when determining if a molecule is a reaction reactant
(github issue #6211 from jones-gareth)
- rdMolHash.MolHash function should allow customization of the CXSmiles via Chem.CXSmilesFields
(github issue #6224 from irenazra)
- Updated README for cartridge installation into conda PostgreSQL
(github pull #6236 from ptosco)
- Add a function to translate the MDL chiral flag into enhanced stereo groups
(github issue #6241 from ricrogz)
- Add support for generic matching in the PgSQL cartridge
(github pull #6269 from bjonnh-work)
- allowOptionalAttachments should also include terminal query atoms matching hydrogen
(github pull #6280 from ptosco)
- Exposed queryColour in MolDrawOptions
(github pull #6282 from ptosco)
- Add a new tautomer mol hash
(github pull #6289 from glandrum)
- has_coords() now reports whether coords are 2D or 3D if present
(github pull #6297 from ptosco)
- Improve the installation/testing instructions.
(github pull #6298 from roccomoretti)
## Code removed in this release:
- The `SmilesParserParams` option `useLegacyStereo` has been removed. Please use
`SetUseLegacyStereoPerception()` instead.
- The following JS methods:
* generate_aligned_coords()
* get_morgan_fp()
* get_morgan_fp_as_uint8array()
* get_pattern_fp()
* get_pattern_fp_as_uint8array()
which used to take several individual parameters have been removed.
Please use the versions which take a single JSON string parameter.
- The `PrintAsBase64PNGString` function in `PandasTools` has been removed.
Please use `PrintAsImageString` instead.
## Deprecated code (to be removed in a future release):
# Release_2022.09.1
(Changes relative to Release_2022.03.1)
## Acknowledgements
Jonathan Bisson, Andy Cai, David Cosgrove, JP Ebejer, Aleš Erjavec, Peter
Gedeck, Mosè Giordano, Sreya Gogineni, Emanuele Guidotti, Hyeonki Hong, Gareth
Jones, Per Johnsson, Maria Kadukova, Eisuke Kawashima, Brian Kelley, Alan
Kerstjens, Michel Moreau, Dan Nealschneider, Santeri Puranen, Ricardo
Rodriguez-Schmidt, Guy Rosin Jeff van Santen, David Schaller, David W.H.
Swenson, Paolo Tosco, Antonio Trande, Ivan Tubert-Brohman, Alexandra Wahab,
Rachel Walker, balducci, GLPG-GT
## Highlights
- The new RegistrationHash module provides one of the last pieces required to
build a registration system with the RDKit.
- This release includes an initial version of a C++ implementation of the
xyz2mol algorithm for assigning bonds and bond orders based on atomic
positions. This work was done as part of the 2022 Google Summer of Code.
- A collection of new functionality has been added to minimallib and is now
accessible from JavaScript and other programming languages.
## Backwards incompatible changes
- Changes to the way atomic chirality is used in the canonicalization algorithm
mean that canonical atom ranking and canonical SMILES generated with this
RDKit version can be different from those generated with previous versions
- `GetBestRMS() and CalcRMS()` by default now treat terminal conjugated functional
groups like carboxylate and nitro symmetrically. For example, the group
`C(=[O:1])[O-:2]` can match in either orientation. The SMARTS pattern which is
used to recognize affected groups is:
`[{atomP};$([{atomP}]-[*]=[{atomP}]),$([{atomP}]=[*]-[{atomP}])]~[*]` where
`{atomP}` is `O,N;D1`. The previous behavior can be restored using by setting
the `symmetrizeConjugatedTerminalGroups` argument to false when calling
`GetBestRMS() and CalcRMS()`
- The following `#defines` are no longer provided in/used by the C++ code or `RDConfig.h`:
- `BUILD_COORDGEN_SUPPORT`: use `RDK_BUILD_COORDGEN_SUPPORT` instead
- `RDK_THREADSAFE_SSS`: use `RDK_BUILD_THREADSAFE_SSS` instead
- `USE_BUILTIN_POPCOUNT`: use `RDK_OPTIMIZE_POPCNT` instead
- The Python function `Chem.GetSSSR()` now returns the SSSR rings found instead
of just returning the count of rings. This is consistent with
`Chem.GetSymmSSSR()` and more useful.
- The SMILES parser will ignore the value of
`SmilesParserParams.useLegacyStereo` unless it is set to `false`. See the
deprecation note about `useLegacyStereo` below for more information.
- The CFFI function `set_2d_coords_aligned()` now takes an additional `char **match_json`
parameter; if `match_json` is not not `NULL`, `*match_json` will point to a
JSON string containing the atoms and bonds which are part of the match.
It is up to the user to free this string.
- The aliphatic imine rule used in tautomer enumeration has been changed to more
closely match the definition in the original paper.
## Bug Fixes:
- H atoms in SGroups cause RDKit to clear SGroups after parsing
(github issue #2716 from ricrogz)
- RDKit misplaces stereochemistry/chirality information for small ring
(github issue #2984 from d-b-w)
- DrawMorganBit returns empty image for "isolated" fingerprints
(github issue #4242 from eguidotti)
- Cores with query atoms may fail to R-group-decompose molecules
(github issue #4505 from ptosco)
- Unable to serialize coordinates as floats in combination with *Props
(github issue #4621 from santeripuranen)
- Image Generation: Highlighting looks off when bondLineWidth is increased for PNG generation
(github issue #5122 from rachelnwalker)
- RDKit crashes on CIP label calculation
(github issue #5142 from ricrogz)
- Modified the JS tests to comply with older nodejs versions
(github pull #5148 from ptosco)
- Presence of exocyclic S/D, S/A or D/A query bonds prevents benzene from being recognized as aromatic
(github issue #5152 from rachelnwalker)
- Fix for RGD dummy atom bug in RDKit::replaceCore
(github pull #5154 from jones-gareth)
- KekulizeException of molecule from Smarts pattern with new RDKit release
(github issue #5156 from schallerdavid)
- Very small fix to avoid an AttributeError
(github pull #5163 from ptosco)
- issue with V3000 SD files containing enhanced stereochemistry information
(github issue #5165 from GLPG-GT)
- Draw.MolToQPixmap raises a TypeError with Python 3.10
(github issue #5166 from ales-erjavec)
- Standardization via RDKit breaks molecules
(github issue #5169 from malteseunderdog)
- Multiple calls to BlockLogs() permanently disable logging
(github issue #5172 from ricrogz)
- Check architecture of the target system to optimise popcnt
(github pull #5182 from giordano)
- More consistently check for `WIN32` instead of `MSVC` in CMake files
(github pull #5183 from giordano)
- Atom indices inside double bond
(github issue #5185 from DavidACosgrove)
- Bug in IPython display after setting a molecule property
(github issue #5192 from dwhswenson)
- Zero & coordinate bonds are being taken into account for chirality
(github issue #5196 from ricrogz)
- FindPotentialStereo does not clean stereoflags from atoms which cannot be stereocenters
(github issue #5200 from greglandrum)
- Fixes array overflow in FMCS code
(github pull #5205 from ricrogz)
- PeriodicTable initialization is not thread safe
(github issue #5207 from ricrogz)
- Find and remove deprecated ifdefs
(github issue #5210 from greglandrum)
- Fix use of not thread safe function localtime()
(github pull #5211 from ricrogz)
- Fix duplicate non thread safe check in VarianceDataForLabel
(github pull #5212 from ricrogz)
- RDKit::Utils::LocaleSwitcher is not thread safe
(github issue #5214 from ricrogz)
- Core with query atoms and no user definded attachment points may create poor decompostions
(github issue #5222 from jones-gareth)
- error: format not a string literal and no format arguments
(github issue #5234 from sagitter)
- Fix qt build under VS2019
(github pull #5238 from ricrogz)
- Precondition violation on chiral Atoms with zero order bonds
(github issue #5239 from ricrogz)
- pyForceFieldConstraints test failed
(github issue #5252 from sagitter)
- drawReaction() should not hit a PRECONDITION with prepareMolsBeforeDrawing=false
(github issue #5259 from ptosco)
- Atom annotations poorly placed on highlighted atoms
(github issue #5269 from DavidACosgrove)
- Make the aliphatic imine rule more closely match the definition in the paper
(github pull #5270 from greglandrum)
- rdMolDraw2D.PrepareMolForDrawing(None) causes segmentation fault
(github issue #5298 from perjo)
- MolStandardize: uncharger failing in molecules with zwitterionic sulfone
(github issue #5317 from greglandrum)
- MolStandardize: some operations throwing on non-standardized molecules
(github issue #5318 from greglandrum)
- MolStandardize: cleanup() function not correctly reassigning stereochemistry
(github issue #5320 from greglandrum)
- Runtime error when writing reaction with substance group to V3000 rxnblock
(github issue #5324 from rachelnwalker)
- MolFromMolBlock should correctly assign stereochemistry to 3D molecules
(github issue #5327 from greglandrum)
- assignChiralTypesFrom3D() ignores wiggly bonds
(github issue #5328 from greglandrum)
- Molzip segfaults instead of throwing an error when multiple bonds are formed to the same pairs of atoms
(github issue #5334 from loluwot)
- leftover debugging code makes build of 2022_03_3 tarball fail
(github issue #5351 from balducci)
- Prevent wedging ring bonds
(github pull #5356 from greglandrum)
- Class info info missing for for wavy bonds in SVGs.
(github pull #5358 from DavidACosgrove)
- MolToSmiles with doRandom=True raises errors with molecules containing fragments.
(github issue #5372 from greglandrum)
- Restore #5103 that was accidentally reverted in #5132
(github pull #5381 from ptosco)
- cairo error when using similarity maps
(github issue #5383 from greglandrum)
- MolDraw2DQt and MolDraw2DJS don't draw wavy bonds
(github issue #5386 from greglandrum)
- MolDraw2DQt draws brackets incorrectly
(github issue #5389 from greglandrum)
- PandasTools should not always bring in IPythonConsole
(github pull #5392 from greglandrum)
- Tautomer enumeration removes stereochemistry depending on how aromatic rings are defined in SMILES
(github issue #5402 from greglandrum)
- Incorrect perception of pseudoasymmetric centers on non-canonical molecules
(github issue #5403 from ptosco)
- Fix performance issue in RingUtils::checkFused
(github pull #5410 from rachelnwalker)
- Multi-coloured highlights go wrong with small fonts
(github issue #5420 from DavidACosgrove)
- Parsing a Mol block/file does not clear the "molTotValence" property from atoms
(github issue #5423 from ricrogz)
- Pre-condition Violation - Failed Expression: dir == Bond::ENDUPRIGHT || dir == Bond::ENDDOWNRIGHT
(github issue #5433 from bjonnh-work)
- MolZip doesn't preserve bond directions when zipping
(github issue #5450 from bp-kelley)
- Draw option noAtomLabels and explicit hydrogen works badly
(github issue #5453 from DavidACosgrove)
- Fix integer overflow in RGroupDecomposition strategy GA
(github pull #5460 from bp-kelley)
- Invalid number of radical electrons calculated for [Pr+4]
(github issue #5462 from bjonnh-work)
- CXSmiles isn't properly escaping floating point properties
(github issue #5466 from bp-kelley)
- Crossed trans bonds in rings
(github issue #5486 from DavidACosgrove)
- MolDraw2D::drawMolecules() should not crash on null molecules
(github pull #5503 from ptosco)
- Running kekulization on mols with query bonds will either fail or return incorrect results.
(github issue #5505 from ricrogz)
- Regression in the way aldehydes are drawn in current master
(github issue #5511 from ptosco)
- Drawing code gives segmentation fault.
(github issue #5534 from DavidACosgrove)
- RGD may yield poor depictions
(github issue #5569 from jones-gareth)
- Fix a problem when generating conformers for molecules with larger heteroatoms in conjugated 5-rings
(github pull #5586 from greglandrum)
- Avoid incurring into division by zero in normalizeDepiction
(github pull #5619 from ptosco)
- Allow properties to be displayed in jupyter when 3D rendering is enabled
(github pull #5624 from greglandrum)
- Checking whether double bond's controlling atoms are duplicate may cause an infinite loop.
(github issue #5659 from ricrogz)
## Cleanup work:
- update release notes, do deprecations
(github pull #5161 from greglandrum)
- Fix typo: quarternary --> quaternary
(github pull #5243 from guyrosin)
- fix doxygen comments
(github pull #5254 from e-kwsm)
- make the catch tests build faster
(github pull #5284 from greglandrum)
- make the logging tests more robust
(github pull #5312 from greglandrum)
- Update docs for ReplaceSubstructs
(github pull #5343 from i-tub)
- Minimallib NPM release fixes - wrong node bin command in Dockerfile and prepublish npm script command replacement
(github pull #5349 from MichelML)
- Update code formatting in GettingStartedInPython.rst
(github pull #5350 from gedeck)
- fix: rdkit.Chem.rdDistGeom.EmbedMultipleConfs docstring indentation
(github pull #5404 from jvansan)
- Remove obsolete files related to rdkit-js + write a rescoped README for MinimalLib
(github pull #5432 from MichelML)
- Fixes "DeprecationWarning: invalid escape sequence \C" when importing EnumerateStereoisomers
(github pull #5478 from ricrogz)
- Fix double to float downcasting warning
(github pull #5479 from ricrogz)
- Remove spurious doxygen tag
(github pull #5488 from ptosco)
- Add deprecation warning to docstring.
(github pull #5498 from DavidACosgrove)
- Remove unnecessary compiler flags that would be ignored anyway
(github pull #5587 from ptosco)
- Update AvalonTools to version 2.0.1
(github pull #5591 from ptosco)
## New Features and Enhancements:
- Initial support for non-tetrahedral stereochemistry
(github pull #5084 from greglandrum)
- Move to C++17
(github pull #5155 from greglandrum)
- Add multi-template isMoleculeXOfReaction overloads
(github pull #5171 from AlanKerstjens)
- Add support for Qt6
(github pull #5203 from ricrogz)
- Make atom, bond iterators usable in STL algorithms
(github pull #5204 from ricrogz)
- Make TautomerQuery serializable
(github pull #5248 from greglandrum)
- add boost::serialization support to ROMol
(github pull #5249 from greglandrum)
- Add support for Pol and Mod pseudoatoms
(github pull #5264 from greglandrum)
- Allow the compiler to generate default ChemicalReaction copy assignment operator
(github pull #5265 from AlanKerstjens)
- cdxml parser
(github pull #5273 from bp-kelley)
- Expose reaction drawing and additional FPs in MinimalLib
(github pull #5277 from ptosco)
- Expose mappings of atom/bond indices abbreviated mol->original mol
(github pull #5300 from ptosco)
- Start using string_views in the file parsers
(github pull #5301 from greglandrum)
- Add a global feature flag to enable the "new" stereo perception code
(github pull #5309 from greglandrum)
- Support conjugated terminal groups in GetBestRMS()
(github pull #5322 from greglandrum)
- Open sources Schrodinger's implementation of "molhash"
(github pull #5360 from d-b-w)
- Drop usage of CIP information from the canonicalization code
(github pull #5385 from greglandrum)
- GetSSSR should have same return type as GetSymmSSSR
(github issue #5395 from chmnk)
- Add prop related method into JSMol
(github pull #5414 from hhk7734)
- Add draw option to force use of wedge information in MolBlock if pres…
(github pull #5417 from DavidACosgrove)
- Add ACS1996 drawing style
(github pull #5425 from DavidACosgrove)
- Treat unspecified stereo as unknown
(github issue #5436 from DavidACosgrove)
- New version of AssignStereochemistry
(github pull #5442 from greglandrum)
- MolZip: add atom property labels for mol-zipping
(github pull #5446 from bp-kelley)
- Add atom property (int/unsigned int) to indicate which atoms to MolZip
(github issue #5451 from bp-kelley)
- Improved bond highlights
(github pull #5484 from DavidACosgrove)
- Include element name in atomic data
(github pull #5524 from rachelnwalker)
- Add Substance Groups and Stereo Groups to debugMol()
(github pull #5526 from ricrogz)
- make it easy to create DAT SGroups from Python
(github pull #5544 from greglandrum)
- Integrating xyz2mol Into The RDKit Core (GSoC 2022)
(github pull #5557 from gosreya)
- Switch yaehmop wrapper to basic cmake
(github pull #5558 from greglandrum)
- fix warnings ahead of 2022.09 release
(github pull #5561 from ricrogz)
- add mergeIsotopes option to mergeQueryHs
(github pull #5563 from jones-gareth)
- Add CXSMILES support for bond wedging and wiggly bonds
(github pull #5575 from greglandrum)
- Add GetBestTFDBetweenMolecules()
(github pull #5577 from greglandrum)
- Add ColorPalette_Vect to SWIG bindings
(github pull #5580 from jones-gareth)
- small changes to get the RDKit to build with C++20
(github pull #5581 from greglandrum)
- Improvements to 2D depiction and alignment/RMSD calculation
(github pull #5598 from ptosco)
- Expose additional functionality to SWIG wrappers
(github pull #5614 from ptosco)
- Add an RGroupDecomp aware molzip to the FreeWilson Contribution
(github pull #5615 from bp-kelley)
- PandasTools and InteractiveRenderer improvements
(github pull #5628 from ptosco)
- Add updateMolDrawOptionsFromJSON()
(github pull #5630 from ptosco)
- InteractiveRenderer.setEnabled() improvements
(github pull #5635 from ptosco)
- Support stereo for double bonds in rings from CXSMILES
(github pull #5636 from greglandrum)
- add stop condition for arom calc of large ringysystems
(github pull #5648 from alexwahab)
- Speed up ring detection by reducing allocations
(github pull #5654 from d-b-w)
- Expose highlighAtomColors, highlighBondColors and highlightAtomRadii to CFFI and JS
(github pull #5657 from ptosco)
- Update obsolete SWIG definitions
(github pull #5658 from ptosco)
- Speed up ring detection by reducing count() calls
(github pull #5663 from d-b-w)
- Expose two SubstructUtils functions to SWIG wrappers
(github pull #5666 from ptosco)
## Code removed in this release:
- The C++ class `RDLog::BlockLogs` has been removed. Please use the class `RDLog::LogStateSetter`. The Python class rdBase.BlockLogs() is still available and supported.
- Python function `rdkit.Chem.WrapLogs()` has been removed. Please use
`rdkit.rdBase.LogToPythonStderr()`. `rdkit.rdBase.WrapLogs()` also exists, but
unless you need the old teeing behavior, prefer the former.
- Python function `rdkit.Chem.LogWarningMsg()` has been removed. Please use
`rdkit.rdBase.LogWarningMsg()`.
- Python function `rdkit.Chem.LogErrorMsg()` has been removed. Please use
`rdkit.rdBase.LogErrorMsg()`.
## Deprecated code (to be removed in a future release):
- The `SmilesParserParams` option `useLegacyStereo` is deprecated and will be
removed in the 2023.03 release. Please use `SetUseLegacyStereoPerception()`
instead. In the meantime the SMILES parser will use only use the value of
`SmilesParserParams.useLegacyStereo` if it is set to `false`, otherwise the
value of the global `useLegacyStereoPerception` parameter will control the
behavior of the SMILES parser.
- The following JS methods:
* generate_aligned_coords()
* get_morgan_fp()
* get_morgan_fp_as_uint8array()
* get_pattern_fp()
* get_pattern_fp_as_uint8array()
which used to take several individual parameters now take a single JSON string parameter.
The overloads taking several individual parameters are now deprecated and will be
removed in a future release.
- The `PrintAsBase64PNGString` function in `PandasTools` is deprecated and replaced
by `PrintAsImageString`, which has a more appropriate name given it actually supports
both PNG and SVG images.
# Release_2022.03.1
(Changes relative to Release_2021.09.1)
## Backwards incompatible changes
- When running in Jupyter Notebook, logs are now sent only to Python's
standard error stream, and no longer include the `RDKit LEVEL` prefix.
- The Debug and Info logs are now disabled by default. If you would like to
enable them within your code you can call `rdBase.EnableLog("rdApp.info")`
and/or `rdBase.EnableLog("rdApp.debug")`.
- The MolHash functions now reassign stereochemistry after modifying the
molecule and before calculating the hash. Previous versions would still
include information about atom/bond stereochemistry in the output hash even if
that no longer applies in the modified molecule.
- The rules for aromaticity in rings containing dummy atoms have been changed.
The general intention of the new handling is that aromaticity will not be
perceived for rings containing dummy atoms unless it's clear that the dummies
should be aromatic. As an example: the SMILES `C1=C*2=CC=CC=*2C=C1` is
perceived to be aromatic while the SMILES `C1=C*2C=CC=C*2C=C1` (which does not
have any double bonds to the dummy atoms) is not; in previous RDKit releases
both of these structures were aromatic. There's more information about this in
the discussion of PR #4722 (https://github.com/rdkit/rdkit/pull/4722) and
Issue #4721 (https://github.com/rdkit/rdkit/issues/4721).
- In the PostgreSQL cartridge the `mol_in()` function no longer performs full
sanitization of the molecule. One consequence of this is that directly casting
from strings to molecules also no longer does sanitization, so `select 'CN(=O)=O'::mol`
does not sanitize the molecule. If you want to convert a string to a molecule
with full sanitization you can either cast to `text` first
(i.e. `select 'CN(=O)=O'::text::mol` or use the `mol_from_smiles()` function.
- The code to calculate bit vector topological torsion fingerprints for
reactions no longer ignore the fingerprint size argument.
- The rules for tautomer enumeration in `MolStandardize` have been updated to
more closely match the rules in the original publication. These changes
primarily consist of making the rules more specific; the consequence is that
less tautomers will be generated with this version. The previous rules can
still be accessed via the function `GetV1TautomerEnumerator()` (Python) or
`getV1TautomerEnumerator()` (C++)
## Highlights
- The RDKit can now integrate with the python logger: calling
`rdBase.LogToPythonLogger()` enables this. All log messages are sent to a
logger named "rdkit".
- The backend of the MolDraw2D code has been extensively refactored. This should
be mostly invisible to RDKit users, but it makes supporting and extending that
code much easier.
- Beilstein generics (i.e. things like "ARY", "ALK", or "CAL") are now supported
when doing substructure queries. This is a first step towards enabling some
really cool substructure search possibilities.
## Acknowledgements
Marcel Baltruschat, Jason Biggs, Kevin Burk, Cédric Bouysset, David Cosgrove,
Joel Duerksen, Jacob Gora, Gareth Jones, Toshiki Kataoka, Eisuke Kawashima,
Brian Kelley, Sonia Liggi, Niels Kristian Kjærgård Madsen, Hector
Martinez-Seara, Dan Nealschneider, Alex Rebert, Ricardo Rodriguez-Schmidt, Steve
Roughley, Roger Sayle, Nikolai Schapin, Ansgar Schuffenhauer, Kaushalesh Shukla,
Jon Sorenson, Ichiru Take, Paolo Tosco, Kazuya Ujihara, Fabio Urbina, Riccardo
Vianello Rachel Walker, Maciej Wójcikowski, SPKorhonen, yuri@FreeBSD,
## Code removed in this release:
- The `useCountSimulation` keyword argument for
`rdFingerprintGenerator.GetMorganGenerator` and
`rdFingerprintGenerator.GetAtomPairGenerator` has been removed. Please use the
`countSimulation` keyword argument instead.
- The function `mol_from_smarts()` in the PostgreSQL cartridge has been removed.
Please use the `qmol_from_smarts()` function instead.
- The `computeBalabanJ()` functions from the `MolOps` namespace were removed.
These were not exposed to Python, so this will not affect any Python code.
## Bug Fixes:
- Fix Flake8 erorrs
(github pull #4252 from e-kwsm)
- handle sqlalchemy deprecation
(github pull #4625 from greglandrum)
- Debug build of the postgres cartridge fails pg_regress tests for reaction.sql
(github issue #4631 from rvianello)
- fix parsing beyond the end of the input string in findMCSsmiles
(github pull #4636 from rvianello)
- Mem leak fixes
(github pull #4637 from ricrogz)
- Subsequent call to rdChemReactions.ChemicalReaction.RunReactants will block indefinitely.
(github issue #4651 from goraj)
- Fix docstring of ConstrainedEmbed
(github pull #4666 from kazuyaujihara)
- Postgres cartridge build fails under Ubuntu
(github issue #4681 from SPKorhonen)
- Molfile SDD records not properly displayed
(github pull #4690 from jones-gareth)
- RGD: fix for cores with MOL block atom lists
(github pull #4695 from jones-gareth)
- Wrong tautomers generated
(github issue #4700 from sonial)
- RGD align output core to input structure
(github pull #4709 from jones-gareth)
- TorsionFingerprints raises error with S(Cl)F4 group
(github issue #4720 from kazuyaujihara)
- Dummy atoms next to aromatic are always kekulized even when they should not
(github issue #4721 from ptosco)
- TautomerEnumerator will crash if copied with a callback set
(github issue #4736 from ptosco)
- Minor PandasTools cleanup
(github pull #4744 from ptosco)
- Reaction parser fails when CX extensions are present
(github issue #4759 from greglandrum)
- GetSimilarityMapFromWeights changes behavior of parameter "colorMap" depending on whether the parameter "draw2d" is provided or not
(github issue #4763 from FabioUrbina)
- Highlight bond width is different for different PNG image sizes
(github issue #4764 from rachelnwalker)
- Fixes crashing bug with finalSubstructChecks
(github pull #4782 from greglandrum)
- MDL query with aromatic bond sets aromatic flag on atoms even though they are not in an aromatic ring
(github issue #4785 from ptosco)
- [Cartridge]: qmol_from_ctab and qmol_from_smiles are sanitizing molecules
(github issue #4787 from greglandrum)
- AdjustQueryProperties() is inconsistent when adjustConjugatedFiveRings is set
(github issue #4789 from greglandrum)
- `Draw.MolToFile` to SVG raises "Can't kekulize" error
(github issue #4792 from toslunar)
- Ring double bonds written as crossed bonds after RGD
(github issue #4809 from greglandrum)
- Fix a number of crashing bugs in the python wrappers
(github pull #4810 from greglandrum)
- correctly tag unspecified branch-begin bonds in SMARTS
(github pull #4811 from greglandrum)
- AttributeError in PandasTools
(github issue #4821 from greglandrum)
- reloading PandasTools leads to infinite recursion
(github issue #4823 from greglandrum)
- ReplaceCore should set stereo on ring bonds when it breaks rings
(github issue #4825 from greglandrum)
- MolDraw2D::drawArc() starts at wrong angle
(github issue #4836 from greglandrum)
- MolDraw2D::drawArc() not exposed to Python
(github issue #4837 from greglandrum)
- align argument to MolDraw2D::DrawString() cannot be used from Python
(github issue #4838 from greglandrum)
- Fix RunFilterCatalog() thread counts.
(github pull #4856 from xavierholt)
- RGD: dummy atom in input structure is mishandled
(github pull #4863 from jones-gareth)
- Fix bug with wedges being drawn backwards
(github pull #4868 from greglandrum)
- Missing dependency on RDKit::RingDecomposerLib_static in RDKit::GraphMol_static
(github issue #4875 from nielskm)
- cannot parse coordinate bonds from CXSMARTS
(github issue #4878 from greglandrum)
- fix some leaks in the SWIG wrappers
(github pull #4916 from greglandrum)
- Fix some problems turned up by ossfuzz
(github pull #4927 from greglandrum)
- Fix i-files for RDK_USE_BOOST_IOSTREAMS=OFF
(github pull #4933 from kazuyaujihara)
- Fails on i386: non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp' (aka 'int') in initializer list
(github issue #4934 from yurivict)
- Fix SWIG wrappers for C#
(github pull #4935 from kazuyaujihara)
- Definition of eccentricity in documentation is wrong
(github issue #4952 from drkeoni)
- fix CMakeLists.txt extracting link line from python LDSHARED config var
(github pull #4954 from rvianello)
- add JavaGzStreamTests
(github pull #4973 from kazuyaujihara)
- Invalid SMARTS generated by MolToSmarts
(github issue #4981 from nielskm)
- Fix memory safety issues found by OSS-Fuzz
(github pull #4983 from alpire)
- AssignStereochemistry should remove nonchiral atoms from StereoGroups
(github pull #4986 from greglandrum)
- Transform3D#SetRotation() around arbitrary axis scales coordinates
(github issue #4995 from sroughley)
- Bad handling of dummy atoms in the CIP assignment code
(github issue #4996 from greglandrum)
- Bad handling of fragments in CIP code
(github issue #4998 from greglandrum)
- Drawing query atoms containing an AND query raises an exception
(github issue #5006 from ptosco)
- Bad tautomers produced for phosphorous compounds
(github issue #5008 from NikSchap2107)
- Fix warning when generating coordinates for ZOBs
(github pull #5011 from d-b-w)
- Code in the docstring for `FindMolChiralCenters()` doesn't work
(github pull #5014 from greglandrum)
- Mol images in DataFrames are drawn only once in Jupyter Lab
(github issue #5017 from mrcblt)
- Drop `gist_qmol_ops` in upgrade scripts in case it exists
(github pull #5021 from mwojcikowski)
- Remove extra newline from Kekulize error message.
(github pull #5022 from xavierholt)
- Neighboring Hs not taken into account in connectivity invariants
(github issue #5036 from greglandrum)
- smiles parsing error due to erroneous ring perception
(github issue #5055 from AnsgarSchuffenhauer)
- To INCHI conversion leaks on kekulization failure
(github pull #5057 from ricrogz)
- Add a CXSMILES option to the MolHash
(github pull #5058 from greglandrum)
- Make the RGD code work when `rgroupLabelling` is `Isotope`
(github pull #5088 from greglandrum)
- Compilation issue with catch.hpp
(github issue #5089 from hseara)
- pg_restore: error: COPY failed for table "mols": ERROR: could not create molecule from SMILES
(github issue #5095 from joelduerksen)
- Removing H preserving only wedged ones strips all H
(github issue #5099 from ricrogz)
- fix a mistake in the enhanced stereochemistry substructure table
(github issue #5101 from greglandrum)
- NumRotatableBonds() incorrect for partially sanitized molecule
(github issue #5104 from greglandrum)
- Wiggly bonds don't override wedged bonds
(github issue #5108 from greglandrum)
## Cleanup work:
- Do the deprecations for the 2022.03 release
(github pull #4626 from greglandrum)
- clang-tidy: readability-simplify-boolean-expr
(github pull #4639 from e-kwsm)
- Clean-up Python 4815 - P1.1: Chem\AtomPairs
(github pull #4859 from IchiruTake)
- Clean-up Python #4815 - P1.2: Chem/ChemUtils
(github pull #4860 from IchiruTake)
- Clean-up Python #4815 - P1.3: Chem\Draw
(github pull #4891 from IchiruTake)
- Clean-up Python #4815 - P1.4: Chem\EState
(github pull #4893 from IchiruTake)
- Clean-up Python #4815 - P1.5: Chem\FeatMaps
(github pull #4894 from IchiruTake)
- Clean-up Python #4815 - P1.6: Chem\Features
(github pull #4896 from IchiruTake)
- Clean-up Python #4815 - P1.8: Chem\fmcs
(github pull #4898 from IchiruTake)
- Clean-up Python #4815 - P1.9: Chem\Fraggle
(github pull #4906 from IchiruTake)
- Clean-up Python #4815 - P1.10: Chem\MolDb
(github pull #4907 from IchiruTake)
- Clean-up Python #4815 - P1.11: Chem\MolKey
(github pull #4910 from IchiruTake)
- Clean-up Python #4815 - P1.12: Chem\MolStandardize
(github pull #4911 from IchiruTake)
- Clean-up Python #4815 - P1.13: Chem\Pharm2D & Chem\Pharm3D
(github pull #4912 from IchiruTake)
- Clean-up Python #4815 - P1.14: Chem\Scaffolds & Chem\SimpleEnum
(github pull #4913 from IchiruTake)
- Run clang-tidy (readability-braces-around-statements)
(github pull #4977 from e-kwsm)
- silence warnings in MSVC compliatons
(github pull #5044 from bp-kelley)
- Clean up the warning landscape
(github pull #5048 from greglandrum)
- Cleanup of python API documentation stubs
(github pull #5105 from greglandrum)
## New Features and Enhancements:
- Update coordgenlibs to v3.0.0
(github pull #4638 from ricrogz)
- Fix some compile-time warnings in the postgres cartridge code
(github pull #4657 from rvianello)
- Add some new color palettes to MolDraw2D
(github pull #4668 from greglandrum)
- Add support for Beilstein generics when doing substructure queries
(github pull #4673 from greglandrum)
- Remove unnecessary mutex in InChI wrapper
(github pull #4680 from greglandrum)
- Update mac CI builds
(github pull #4738 from greglandrum)
- Remove dead code
(github pull #4739 from ptosco)
- Refactor the memory management of the postgres cartridge cache module
(github pull #4755 from rvianello)
- Improve CMake integration of PgSQL build
(github pull #4767 from ptosco)
- Allow MolDraw2DCairo and MolDraw2DSVG to determine canvas size based on the molecule
(github pull #4772 from greglandrum)
- generate the sql update files in the binary (build) directory
(github pull #4777 from rvianello)
- Allow using heavy atoms only in the FragmentChooser
(github pull #4791 from ptosco)
- silence warnings in MSVC compilations
(github pull #4796 from bp-kelley)
- Support using the python logger
(github issue #4840 from xavierholt)
- Add support for quadruple bonds in SMILES
(github issue #4842 from jasondbiggs)
- Some refactoring of the depictor code
(github pull #4865 from greglandrum)
- Build documentation for 3 missing modules
(github pull #4879 from ptosco)
- Add access to query atom symbols from python or an option to render them in images
(github issue #4880 from rachelnwalker)
- Start adding move constructors and move-assignment operators
(github pull #4909 from greglandrum)
- Refactor mol draw2 d
(github pull #4948 from DavidACosgrove)
- [ENH]: Support greater use of `findAtomEnvironmentOfRadiusN()`
(github pull #4970 from IchiruTake)
- Move isEarlyAtom to a table to reduce lock contention in getPeriodicTable
(github pull #4980 from bp-kelley)
- Support writing V3000 reactions
(github pull #4982 from greglandrum)
- Make FMCS check bond stereo.
(github pull #5009 from DavidACosgrove)
- Improving atom colors for dark mode.
(github pull #5038 from kaushaleshshukla)
- enable the multithreaded LeaderPicker on linux
(github pull #5043 from greglandrum)
- Expose MolzipParams::atomSymbols to python
(github pull #5054 from bp-kelley)
- disable Info and Debug logs by default
(github pull #5065 from greglandrum)
- Add sanitize option to molzip
(github pull #5069 from bp-kelley)
- "Powered by RDKit" Badge
(github pull #5085 from cbouy)
- Add a couple of depiction helper functions and some JS bindings
(github pull #5115 from ptosco)
- Swig MolDraw2D cairo
(github pull #5128 from jones-gareth)
- Enables rdkit-structure-renderer.js in Jupyter Lab and Notebook
(github pull #5132 from ptosco)
## Deprecated code (to be removed in a future release):
- Python function `rdkit.Chem.WrapLogs()` is deprecated in favor of
`rdkit.rdBase.LogToPythonStderr()`. `rdkit.rdBase.WrapLogs()` also exists,
but unless you need the old teeing behavior, prefer the former.
- Python function `rdkit.Chem.LogWarning()` is deprecated in favor of
`rdkit.rdBase.LogWarning()`.
- Python function `rdkit.Chem.LogError()` is deprecated in favor of
`rdkit.rdBase.LogError()`.
- The C++ class `RDLog::BlockLogs` is deprecated in favor of the the class `RDLog::LogStateSetter`.
# Release_2021.09.1
(Changes relative to Release_2021.03.1)
## Backwards incompatible changes
- `RWMol.replaceAtom()` no longer removes `SubstanceGroups` which reference that atom.
- The `keepSGroups` argument to `RWMol.replaceBond()` now defaults to true.
- The SMARTS parser now by default accepts CXSMILES extensions and molecule
names. SMARTS which previously failed to parse like `CCC fail` will now return
valid molecules.
- Molecule names in SMILES and SMARTS are now parsed by default. Previously they
were ignored.
- The `getParams()` function for retrieving UFF parameters now returns a const
pointer instead of a standard pointer. This shouldn't affect the functionality
of any code since the only method of the class is also const.
## Highlights
- Single reactant/single product reactions can now be applied in-place. This
really helps with the performance of these kinds of transformations.
- The CFFI wrapper around MinimalLib greatly expands the number of possible
places the RDKit can be used from.
- A number of general enhancements and quality-of-life improvements were made
to the PostgreSQL cartridge.
## Acknowledgements
Jason Biggs, Kit Choi, David Cosgrove, Eloy Félix, Harrison Green, Gareth Jones,
Eisuke Kawashima, Alan Kerstjens, Brian Kelley, John Konecny, Stephanie
Labouille, Rasmus Lundsgaard, Hadrien Mary, Michel Moreau, Dan Nealschneider,
Axel Pahl, Maximilian Peters, Alessio Ragno, Ricardo Rodriguez-Schmidt, Riccardo
Sabatini, Roger Sayle, Vincent F. Scalfani, Dan Skatov, David Slochower, Peter
St. John, Mihaly Szabo, Ichiru Take, Paolo Tosco, Ivan Tubert-Brohman, Kazuya
Ujihara, Alain Vaucher, Riccardo Vianello, Rachel Walker, Shuzhe Wang, Maciej
Wójcikowski, bzoracler, jungb-basf, charly828, yoer77,
## Code removed in this release:
- The minimizeOnly option for coordgen has been removed.
## Contrib updates:
- Contribute FreeWilson analysis
(github pull #4026 from bp-kelley)
## Bug Fixes:
- cannot pass drawOptions to MolsToGridImage when using notebook
(github issue #3101 from slochower)
- Draw.MolToImage() cannot highlight with highlightMap (v > '2019.09.3' )
(github issue #3616 from spideralessio)
- EnumerateStereoisomers fail with STEREOANY bonds from molblock
(github issue #3759 from TermeHansen)
- Double bond stereo gets flipped by SMILES reader/writer
(github issue #3967 from mwojcikowski)
- SparseIntVect copy constructor and assignment operators not clearing existing data
(github issue #3994 from AlanKerstjens)
- MolFragmentToSmiles with kekuleSmiles=True raises AtomKekulizeException
(github issue #3998 from kazuyaujihara)
- update clang version for linux CI fuzzer builds
(github pull #4012 from greglandrum)
- Update coordgen to 2.0.3
(github pull #4017 from d-b-w)
- Get SWIG wrappers working with C# again
(github pull #4020 from kazuyaujihara)
- replaceSidechains creates aromatic dummy atoms
(github pull #4022 from ptosco)
- A set of fixes for problems caused by bad input
(github pull #4033 from greglandrum)
- Cleanup some problems found during an ASAN build
(github pull #4054 from greglandrum)
- Avoid that lone atoms which are part of a ring in one of the molecules become part of the MCS
(github pull #4065 from ptosco)
- StereoGroups not preserved by RenumberAtoms()
(github issue #4071 from greglandrum)
- call to pyAvalonTools.Generate2DCoords results in an assert violation
(github issue #4075 from rvianello)
- Update boost download location in Dockerfile
(github pull #4094 from greglandrum)
- HCount field in v2000 Mol blocks ignored
(github issue #4099 from riccardosabatini)
- Reactions don't propagate bond properties
(github issue #4114 from d-b-w)
- RemoveStereochemistry should also remove stereogroups
(github issue #4115 from greglandrum)
- Avoid that MolStandardizer segfaults on empty mols
(github pull #4119 from ptosco)
- SEGV in RWMol::commitBatchEdit
(github issue #4122 from hgarrereyn)
- SEGV in ROMol::getAtomDegree if atom is not in graph
(github issue #4127 from hgarrereyn)
- SEGV from unsigned integer overflow in Conformer::setAtomPos
(github issue #4128 from hgarrereyn)
- HCOUNT from v3000 CTABS incorrectly interpreted
(github issue #4131 from greglandrum)
- Empty query produces empty match, but at the same time is considered non-matching
(github issue #4138 from i-tub)
- fixed AddBond documentation
(github pull #4142 from Ashafix)
- Possible bug with `EnumerateStereoisomers`
(github issue #4144 from stephanielabouille)
- Odd drawing behavior with radicals and MolsToGridImage
(github issue #4156 from pstjohn)
- pre-condition violation when sanitizing a de-pickled reaction
(github issue #4162 from jasondbiggs)
- Many of the PMI descriptors are not being recalculated for different conformers
(github issue #4167 from greglandrum)
- bug in MDLParser.cpp when reading a rxn file in v3000 format that contains agents
(github issue #4183 from jungb-basf)
- Potentially chiral bridgehead atoms not being identified.
(github pull #4192 from greglandrum)
- allow more recoverable V3000 parsing errors when strictParsing=false
(github pull #4210 from greglandrum)
- RGD: Fix memory leak with deleting array
(github pull #4211 from bp-kelley)
- UnfoldedRDKFingerprintCountBased returns a different fingerprint length for every molecule
(github issue #4212 from greglandrum)
- rdMolHash.MolHash fails on non-standard valences
(github issue #4222 from ricrogz)
- Fix a couple of problems with fingerprint count simulation
(github pull #4228 from greglandrum)
- Chem.MolFromSmiles using SmilesParserParams throws exceptions
(github issue #4232 from greglandrum)
- Parse failure for data groups in CXSMILES
(github issue #4233 from greglandrum)
- double bonds now have EITHER stereo if no coordinates are present
(github pull #4239 from greglandrum)
- Fix CMakeLists for FileParsers
(github pull #4240 from kazuyaujihara)
- Multiple ATTCHPT entries for one atom handled incorrectly
(github issue #4256 from greglandrum)
- Exception thrown by reionizer when dealing with Mg+2
(github issue #4260 from greglandrum)
- Fallback ring finding failing on molecules with multiple fragments
(github issue #4266 from avaucher)
- Make sure that ResonanceMolSupplier substructure matches are uniquified consistently
(github pull #4274 from ptosco)
- FindPotentialStereo() doesn't find *marked* ring stereo when flagPossible=False
(github issue #4279 from greglandrum)
- The normalization pattern for pyridine N-oxide is not specific enough
(github issue #4281 from ptosco)
- computeCanonicalTransform may generate non-canonical coords
(github issue #4302 from ptosco)
- Unreasonable calculation of implicit valence for atoms with query bonds
(github issue #4311 from greglandrum)
- call to AvalonTools::set2DCoords results in an assert violation
(github issue #4330 from jasondbiggs)
- MolBlock writer gives non-stereo double bonds "unspecified" parity
(github issue #4345 from d-b-w)
- Specified trans stereo being ignored during conformation generation in macrocycles
(github issue #4346 from greglandrum)
- Two MinGW build fixes and one MSVC build fix
(github pull #4347 from ptosco)
- Fixes RDK_BUILD_THREADSAFE_SSS=OFF build
(github pull #4349 from ptosco)
- clean up some leaks identified by an ASAN build
(github pull #4354 from greglandrum)
- Three more Windows build fixes
(github pull #4356 from ptosco)
- Specified grid spacing for ShapeTanimotoDistance is ignored.
(github issue #4364 from greglandrum)
- Need implicit H cleanup after rdMolEnumerator.Enumerate()
(github issue #4381 from greglandrum)
- rdMolEnumerator.Enumerate fails on variable attachment points with queries
(github issue #4382 from greglandrum)
- RDKit reaction produces wrong double bond stereochemistry
(github issue #4410 from mwojcikowski)
- "to-Python converter already registered; second conversion method ignored." warnings issued at import
(github issue #4425 from ricrogz)
- v2000 SGroups do not generate an "index" property
(github issue #4434 from ricrogz)
- pg_restore does not work with some mol type molecule
(github issue #4442 from mihalyszabo88)
- Building with static dependencies breaks CMake exports
(github issue #4449 from ricrogz)
- DataStruct vectors leak when iterating
(github issue #4465 from bp-kelley)
- SGroups: Additional SDT properties not decoded if FIELDNAME is empty
(github issue #4476 from greglandrum)
- Test failure in reaction.sql
(github issue #4486 from yoer77)
- Small rings can have STEREOANY/EITHERDOUBLE bonds
(github issue #4494 from ricrogz)
- OR queries involving aromatic atoms cannot be drawn
(github issue #4496 from ptosco)
- MolFromSmiles and MolFromSmarts incorrectly accepting input with spaces
(github issue #4503 from greglandrum)
- Native 2D layout engine may generate overlapping coordinates
(github issue #4504 from ptosco)
- SubstanceGroup labels sometimes overlap with atoms in image generation
(github issue #4508 from rachelnwalker)
- SGroups do not have a way of unsetting properties from Python
(github issue #4514 from ricrogz)
- operator<< is declared for AtomPDBResidueInfo but not defined
(github issue #4535 from greglandrum)
- Improve test coverage and some bug fixes
(github pull #4536 from greglandrum)
- Seg fault in MolDraw2D::drawMolecules()
(github issue #4538 from greglandrum)
- Salt removal forces sanitization
(github issue #4550 from ricrogz)
- fix a thread-safety bug in the UFF parameter loading
(github pull #4553 from greglandrum)
- GetSubstructMatches() loops at 43690 iterations.
(github issue #4558 from ricrogz)
- failure to parse CTAB with LINKNODE and SGROUP
(github issue #4561 from greglandrum)
- Requesting "density" fingerprint Hydrogen molecule fails with exception
(github issue #4567 from ricrogz)
- Incorrect double bond stereo in output SMILES around ring closures
(github issue #4582 from greglandrum)
- migrate the MHFP implementation to use boost::random
(github pull #4603 from rvianello)
- Fix EnumerateStereoisomers with tryEmbedding
(github pull #4615 from kazuyaujihara)
## New Features and Enhancements:
- Support Chemical Markup Language, CML, for writing
(github pull #3024 from e-kwsm)
- Add Eigen to ExternalProject and automatically download if RDK_BUILD_DESCRIPTORS3D
(github pull #3075 from e-kwsm)
- updates to postgreSQL cartridge
(github pull #3976 from greglandrum)
- Update Overview.md
(github pull #3992 from charly828)
- MinimalLib: add CFFI interface
(github pull #4018 from greglandrum)
- Contribute FreeWilson analysis
(github pull #4026 from bp-kelley)
- Allow partial deserialization of molecules
(github pull #4040 from greglandrum)
- Add datamol project
(github pull #4046 from hadim)
- Build BCUT when RDK_BUILD_DESCRIPTORS3D=OFF
(github pull #4085 from kazuyaujihara)
- Making RDKit minimallib (JS lib) available through the npm package manager
(github pull #4086 from MichelML)
- Normalize line endings in source code files
(github pull #4104 from ptosco)
- Allow MolToQPixmap to support PySide2
(github pull #4110 from kitchoi)
- update ChEMBL projects in Projects using RDKit
(github pull #4116 from eloyfelix)
- A collection of MolStandardize improvements
(github pull #4118 from greglandrum)
- Run clang-format against header files
(github pull #4143 from e-kwsm)
- Some miscellaneous MinimalLib enhancements
(github pull #4169 from ptosco)
- [MinimalLib] Add number of heavy atoms to descriptors
(github issue #4184 from apahl)
- Comments added to RGD core matching
(github pull #4189 from jones-gareth)
- Fix/rdprop integer conversions
(github pull #4194 from bp-kelley)
- RWMol cleanup
(github pull #4198 from greglandrum)
- Test comparing SVGs via hash code - ready for review
(github pull #4199 from DavidACosgrove)
- support getNumAtoms and getNumHeavyAtoms as Descriptors
(github pull #4200 from greglandrum)
- Canon.cpp canonicalizeDoubleBond function refactor
(github pull #4204 from jfkonecn)
- Add low level functions to bulk-update Substance Group atoms & bonds
(github pull #4206 from ricrogz)
- Run clang-tidy (modernize-pass-by-value)
(github pull #4224 from e-kwsm)
- Shift `Trajectory` and `Snapshot` constructors to methods on classes
(github pull #4225 from bzoracler)
- Allow depiction of "either" double bonds as "wiggly neighbors"
(github issue #4238 from d-b-w)
- Some cartridge enhancements
(github pull #4271 from greglandrum)
- [Enhancement]: Allow every bit-vect fixed-size fingerprints can be directly embedded || attached into the (Numpy) Array or return the Numpy Array
(github issue #4273 from IchiruTake)
- Turn MRV_COORDINATE_BOND_TYPE data Substance Groups into coordinate bonds
(github pull #4299 from ricrogz)
- Support using SubstructMatchParameters in RGD
(github pull #4318 from greglandrum)
- Add partial CXSMARTS support
(github issue #4319 from greglandrum)
- Support toggling components of CXSMILES output
(github issue #4320 from greglandrum)
- Switch to using InChI v1.06
(github issue #4322 from greglandrum)
- support using RGBA colors
(github issue #4323 from greglandrum)
- MinimalLib: return fingerprints as BitSets
(github issue #4329 from dskatov)
- Expose atomColourPalette as JSON drawOption
(github pull #4337 from ptosco)
- Improved sgroup output
(github pull #4343 from greglandrum)
- support get_json in the rdkitjs wrapper
(github pull #4348 from greglandrum)
- Enable using the URF library in Windows static builds
(github pull #4357 from ptosco)
- a few doxygen comment fixes
(github pull #4368 from jasondbiggs)
- Enable building Java wrappers with MinGW compilers
(github pull #4384 from ptosco)
- add exactmw to cartridge
(github issue #4386 from greglandrum)
- Some cartridge additions and fixes
(github pull #4387 from greglandrum)
- Remove SWIG kludge on Windows
(github pull #4388 from ptosco)
- CXSMILES improvements
(github pull #4396 from greglandrum)
- SubstructLibrary improvements
(github pull #4403 from greglandrum)
- Add 3 new examples to Cookbook.
(github pull #4404 from vfscalfani)
- cleanup the use of lambdas in the code
(github pull #4432 from greglandrum)
- Swap from RDUNUSED_PARAM to unnamed parameters
(github pull #4433 from greglandrum)
- Fix #4442 and other cartridge improvements
(github pull #4448 from greglandrum)
- RDKit Cartridge: qmol GiST support
(github issue #4463 from mwojcikowski)
- Add ToList method to Sparse/ExplicitBitVector
(github pull #4467 from bp-kelley)
- GiST support to qmol type
(github pull #4470 from mwojcikowski)
- be more tolerant when kekulizing
(github pull #4492 from greglandrum)
- Allow applying single-reactant/single-product reactions in place
(github pull #4511 from greglandrum)
- Add custom distance bounds parameter for ETKDG conformer generation
(github pull #4516 from hjuinj)
- cleanup some compiler warnings
(github pull #4521 from greglandrum)
- Improve test coverage and some bug fixes
(github pull #4536 from greglandrum)
- Additions to the jupyter integration
(github pull #4541 from greglandrum)
- another round of cartridge improvements
(github pull #4543 from greglandrum)
- Major speed-up of RGD scoring
(github pull #4544 from ptosco)
- Expose get_smarts to JS
(github pull #4547 from ptosco)
- Improve performance of removing substruct/tautomer duplicates
(github pull #4560 from ricrogz)
- Add support for SRUs to MolEnumerator
(github pull #4563 from greglandrum)
- Adds KeyFromPropHolder to hold user defined indices
(github pull #4571 from bp-kelley)
- add ROMol::atomNeighbors() and ROMol::atomBonds()
(github pull #4573 from greglandrum)
- Improvements to some constructors in python wrappers
(github pull #4581 from greglandrum)
- Add FreeSASA support to Windows builds
(github pull #4584 from ptosco)
- use V3K mol blocks in PNG metadata
(github pull #4588 from greglandrum)
- Prevent some loop variables from creating unnecessary copies
(github pull #4610 from rvianello)
- Rename the molLinkNode property to _molLinkNode
(github pull #4614 from greglandrum)
- Fix clang warning `-Wabsolute-value`
(github pull #4616 from e-kwsm)
## Deprecated code (to be removed in a future release):
- The `useCountSimulation` keyword argument for
`rdFingerprintGenerator.GetMorganGenerator` and
`rdFingerprintGenerator.GetAtomPairGenerator` has been deprecated and will be
removed in the next release. Please use the `countSimulation` keyword argument
instead.
- The function `mol_from_smarts()` in the PostgreSQL cartridge has been
deprecated and will be removed in the next release. Please use the
`qmol_from_smarts()` function instead.
- The `computeBalabanJ()` functions from the `MolOps` namespace have been
deprecated and will be removed in the next release. These have not been
exposed to Python, so this will not affect any Python code.
# Release_2021.03.1
(Changes relative to Release_2020.09.1)
## Backwards incompatible changes
- The distance-geometry based conformer generation now by defaults generates
trans(oid) conformations for amides, esters, and related structures. This can
be toggled off with the `forceTransAmides` flag in EmbedParameters. Note that
this change does not impact conformers created using one of the ET versions.
(#3794)
- The conformer generator now uses symmetry by default when doing RMS pruning.
This can be disabled using the `useSymmetryForPruning` flag in
EmbedParameters. (#3813)
- Double bonds with unspecified stereochemistry in the products of chemical
reactions now have their stereo set to STEREONONE instead of STEREOANY (#3078)
- The MolToSVG() function has been moved from rdkit.Chem to rdkit.Chem.Draw
(#3696)
- There have been numerous changes to the RGroup Decomposition code which change
the results. (#3767)
- In RGroup Decomposition, when onlyMatchAtRGroups is set to false, each molecule
is now decomposed based on the first matching scaffold which adds/uses the
least number of non-user-provided R labels, rather than simply the first
matching scaffold.
Among other things, this allows the code to provide the same results for both
onlyMatchAtRGroups=true and onlyMatchAtRGroups=false when suitable scaffolds
are provided without requiring the user to get overly concerned about the
input ordering of the scaffolds. (#3969)
- There have been numerous changes to `GenerateDepictionMatching2DStructure()` (#3811)
- Setting the kekuleSmiles argument (doKekule in C++) to MolToSmiles will now
cause the molecule to be kekulized before SMILES generation. Note that this
can lead to an exception being thrown. Previously this argument would only
write kekulized SMILES if the molecule had already been kekulized (#2788)
- Using the kekulize argument in the MHFP code will now cause the molecule to be
kekulized before the fingerprint is generated. Note that becaues kekulization
is not canonical, using this argument currently causes the results to depend
on the input atom numbering. Note that this can lead to an exception being
thrown. (#3942)
- Gradients for angle and torsional restraints in both UFF and MMFF were computed
incorrectly, which could give rise to potential instability during minimization.
As part of fixing this problem, force constants have been switched to using
kcal/degree^2 units instead of kcal/rad^2 units, consistently with the fact that
angle and dihedral restraints are specified in degrees. (#3975)
## Highlights
- MolDraw2D now does a much better job of handling query features like common
query bond types, atom lists, variable attachment points, and link nodes. It
also supports adding annotations at the molecule level, displaying brackets
for Sgroups, rendering the ABS flag for stereochemistry, and a new "comic"
mode.
- There are two new Contrib packages: NIBRStructureFilters and CalcLigRMSD
- There have been a number of improvements made to the R-Group Decomposition
code which make it both more flexible and considerably faster
## Acknowledgements
Michael Banck, Christopher Von Bargen, Jason Biggs, Patrick Buder, Ivan
Chernyshov, Andrew Dalke, Xiaorui Dong, Carmen Esposito, Nicholas Firth, Enrico
Gandini, James Gayvert, Gareth Jones, Eisuke Kawashima, Steven Kearnes, Brian
Kelley, Mark Mackey, Niels Kristian Kjærgård Madsen, Luca Naef, Dan
Nealschneider, Jin Pan, Daniel Paoliello, António JM Ribeiro, Sereina Riniker,
Braxton Robbason, Jaime RodrÃguez-Guerra, Ricardo Rodriguez-Schmidt, Steve
Roughley, Vincent F. Scalfani, Nadine Schneider, Philippe Schwaller, Dan Skatov,
Pascal Soveaux, Paolo Tosco, Kazuya Ujihara, Riccardo Vianello, Shuzhe Wang,
Piotr Wawrzyniak, Maciej Wójcikowski, Zhijiang Yang, Yutong Zhao
'driesvr', 'GintasKam', 'SPKorhonen', 'pkubaj', 'AnPallo', 'darintay',
'slchan3', 'Robins', 'sirbiscuit', 'amateurcat', 'noncomputable', 'yurivict',
'magattaca'
## Contrib updates:
- Added NIBRStructureFilters: a set of substructure filters for hit-list triaging together with python code for applying them. The filters are described in the publication https://dx.doi.org/10.1021/acs.jmedchem.0c01332
(github pull #3516 from NadineSchneider)
- Added CalcLigRMSD: flexible python code for calculating RMSD between pre-aligned molecules
(github pull #3812 from cespos)
## Bug Fixes:
- Casting int to uint in MorganFingerprintHelper leads to unexpected behaviour.
(github issue #1761 from SiPa13)
- MolChemicalFeature.GetPos() returns value for molecule's default conformer
(github issue #2530 from greglandrum)
- Unable to catch RDKit exceptions in linked library when compiling with fvisibility=hidden
(github issue #2753 from cdvonbargen)
- Reaction rendering always shows molecules in aromatic form
(github issue #2976 from greglandrum)
- Reactions setting unspecified double-bond stereo to STEREOANY
(github issue #3078 from ricrogz)
- PDB output flavor&2 documentation change
(github issue #3089 from adalke)
- WedgeMolBonds() should prefer degree-1 atoms
(github issue #3216 from greglandrum)
- Error in ChemAxon SMILES "parsing"
(github issue #3320 from IvanChernyshov)
- Incorrect number of radical electrons calculated for metals
(github issue #3330 from greglandrum)
- Problem with lifetime linkage of mols and conformers
(github issue #3492 from amateurcat)
- Traceback when pickling ROMol after BCUT descriptors are calculated
(github issue #3511 from d-b-w)
- Fix AUTOCORR2D descriptors
(github pull #3512 from ricrogz)
- SDMolSupplier requires several attempts to load a SDF file in Python 3.6/3.7
(github issue #3517 from jaimergp)
- Remove accidentally included boost header
(github pull #3518 from ricrogz)
- legend_height_ should be preserved after drawing the molecule
(github pull #3520 from greglandrum)
- remove the include directive for unused <access/tuptoaster.h> header
(github pull #3525 from rvianello)
- C++ build fails when configured with RDKIT_USE_BOOST_SERIALIZATION=OFF
(github issue #3529 from rvianello)
- Newest RDKIT version allowing chemically invalid smiles
(github issue #3531 from GintasKam)
- Behaviour of generate_aligned_coords for erroneous inputs
(github issue #3539 from dskatov)
- Drawing artifacts in draw_to_canvas_with_offset
(github issue #3540 from dskatov)
- Error adding PNG metadata when kekulize=False
(github issue #3543 from gayverjr)
- Add missing methods to remove SubstanceGroup attributes
(github pull #3547 from greglandrum)
- Error writing SDF data containing UTF-8 to a StringIO object
(github issue #3553 from greglandrum)
- correct handling of amide distances for macrocycles
(github pull #3559 from hjuinj)
- rdMolDraw2D, problems during generation of pictures from SMARTS, differences between Cairo and SVG
(github issue #3572 from wopozka)
- Fix example of SmilesToMol
(github pull #3575 from kazuyaujihara)
- atom/bond notes handle capital letters incorrectly
(github issue #3577 from greglandrum)
- Get MolDraw2DQt working again
(github pull #3592 from greglandrum)
- Scientific notation in SDF V3000 files
(github issue #3597 from mark-cresset)
- Fix: add missing python wrappers for MolDraw2DQt
(github pull #3613 from greglandrum)
- V3K mol block parser not saving the chiral flag
(github issue #3620 from greglandrum)
- Inconsistent metal disconnectors
(github issue #3625 from pschwllr)
- Ring stereochemistry not properly removed from N atoms
(github issue #3631 from greglandrum)
- moldraw2djs should not close all polygonal paths
(github pull #3634 from greglandrum)
- Unidentifiable C++ Exception with FMCS
(github issue #3635 from proteneer)
- Bump catch2 version to allow builds on Apple M1
(github pull #3641 from naefl)
- Segmentation fault when parsing InChI
(github issue #3645 from AnPallo)
- RDK_BUILD_THREADSAFE_SSS does not work as expected
(github issue #3646 from pascal-soveaux)
- Disabling MaeParser and CoordGen Support Breaks the Build
(github issue #3648 from proteneer)
- BondStereo info lost in FragmentOnBonds()
(github pull #3649 from bp-kelley)
- memory leak when sanitization fails in InChIToMol()
(github issue #3655 from greglandrum)
- Qt GUI libraries being linked into rdmolops.so when Qt support is enabled
(github issue #3658 from ricrogz)
- Documentation of Chem.rdmolops.GetMolFrags's frag argument is wrong
(github issue #3670 from noncomputable)
- fmcs() + bogus input causes engine crash
(github issue #3687 from robins)
- qmol_from_ctab() with NULL crashes engine
(github issue #3688 from robins)
- qmol_from_smiles() + bogus input causes engine crash
(github issue #3689 from robins)
- Check PIL support for tostring and fromstring
(github pull #3690 from sirbiscuit)
- Move MolToSVG() to rdkit.Chem.Draw (Addresses #3694)
(github pull #3696 from ricrogz)
- Pandas AttributeError when rendering Molecule in DataFrame
(github issue #3701 from enricogandini)
- Memory leak in EnumerateLibrary
(github issue #3702 from jose-mr)
- Fix to add ZLIB_INCLUDE_DIRS for Windows build
(github pull #3714 from kazuyaujihara)
- Docs/Book: Unexpected unicode character makes pdflatex build fail
(github issue #3738 from mbanck)
- Test suite failures if eigen3 is not available
(github issue #3740 from mbanck)
- Regression in depiction of double bonds in aromatic rings
(github issue #3744 from ptosco)
- RGD with RGroupMatching.GA leaks memory and takes too long
(github issue #3746 from ptosco)
- Fix comment to match the code in RemoveHsParameters
(github pull #3747 from jasondbiggs)
- Inconsistent canonical tautomer on repeated application
(github issue #3755 from darintay)
- bonds no longer highlighted in substruct matches in jupyter
(github issue #3762 from greglandrum)
- SubstanceGroup output doesn't correctly quote " symbols
(github issue #3768 from greglandrum)
- MolToSmarts inverts direction of dative bond
(github issue #3774 from IvanChernyshov)
- Regression in dihedral constraints
(github issue #3781 from ptosco)
- Fix pillow error in IPythonConsole.py
(github pull #3783 from skearnes)
- lock swig version in MacOS CI builds
(github pull #3789 from greglandrum)
- DrawMorganBit errors when useSVG is False
(github issue #3796 from ncfirth)
- SubstructLibrary Cached Smiles Holders have bad behavior with bad smiles
(github issue #3797 from bp-kelley)
- MolFromSmiles('[He]') produces a diradical helium atom
(github issue #3805 from jasondbiggs)
- NaNs from AUTOCORR2D descriptor
(github issue #3806 from greglandrum)
- MaeMolSupplier throws an invariant exception on parsing an "undefined" chirality label
(github issue #3815 from ricrogz)
- Sanitize molecules when SMILES needs to be produced in PandasTools
(github pull #3818 from mwojcikowski)
- Tautomer Query copy constructor is shallow not deep causing segfaults in destructor
(github issue #3821 from bp-kelley)
- OptimizeMolecule and OptimizeMoleculeConfs Argument Bug
(github issue #3824 from xiaoruiDong)
- rdMolEnumerator.Enumerate() fragile w.r.t. atom ordering
(github issue #3844 from greglandrum)
- MinimalLib: Bonds are parallel in SVG but not on an HTML5 Canvas
(github issue #3852 from dskatov)
- AddHs creates H atom with nan coordinates on edge case 2D structure
(github issue #3854 from ricrogz)
- Build error with static boost libraries (v1.73)
(github issue #3865 from nielskm)
- Make sure that added R-groups have non-zero coordinates
(github pull #3877 from ptosco)
- Bad H coordinates on fused ring
(github issue #3879 from greglandrum)
- SubstructLibrary needs to check bond ring queries as well
(github issue #3881 from bp-kelley)
- Fixes Amine.Tertiary.Aromatic definition
(github pull #3883 from bp-kelley)
- inconsistency in seedSmarts in FMCS between and GetSubstructureMatches
(github issue #3886 from proteneer)
- PandasTools.RGroupDecomposition throws an error when redraw_sidechains is set to True.
(github pull #3888 from greglandrum)
- Dev/update glare to py3
(github pull #3892 from bp-kelley)
- ConfGen: Macrocycle torsion terms not being used with fused macrocycles
(github pull #3894 from greglandrum)
- Broken KNIME link in README
(github issue #3897 from yurivict)
- Change class to struct for forward declaration
(github pull #3906 from bp-kelley)
- Fixes issues with unlabelled groups on aromatic nitrogens
(github pull #3908 from ptosco)
- Fix #3659 regression introduced in #3832
(github pull #3909 from ricrogz)
- Error rendering SMARTS queries with atom OR lists
(github issue #3912 from greglandrum)
- MoDraw2D: Get tests working without freetype
(github pull #3923 from greglandrum)
- RGD default scoring function does not always work as expected
(github issue #3924 from jones-gareth)
- MolDraw2D: relative font size changes with bond lengths in molecule
(github issue #3929 from greglandrum)
- MolDraw2D: coordinates for reactions not being used
(github issue #3931 from greglandrum)
- Follow-on patch for changes in #3899
(github issue #3932 from greglandrum)
- Fix MolDraw2DQt exports
(github pull #3935 from ricrogz)
- Fix building JavaWrappers on Windows, dynamic linking
(github pull #3936 from ricrogz)
- Boost header warnings when compiling
(github issue #3956 from jasondbiggs)
- Adds removeAllHydrogenRGroupsAndLabels and fixes kekulization issues
(github pull #3944 from ptosco)
- MolToJSONData fails when mol has a property that can't be stringified
(github issue #3956 from jasondbiggs)
- RWMol should reset(), not release(), dp_delAtoms and dp_delBonds
(github pull #3970 from greglandrum)
## New Features and Enhancements:
- add context managers for writers
(github issue #2217 from greglandrum)
- MolToSmiles(kekuleSmiles=True) gives SMILES with aromatic bonds
(github issue #2788 from adalke)
- allow specification of color map when drawing similarity maps
(github issue #2904 from greglandrum)
- Clean up CMake files
(github pull #3417 from e-kwsm)
- Speed up GraphMol/Chirality.cpp/iterateCIPRanks
(github pull #3482 from jinpan)
- Removes function which is an exact duplicate of another function
(github pull #3524 from ptosco)
- A couple of minor improvements to FindCairo
(github pull #3535 from ptosco)
- Give a bit more time to RGD test in debug builds
(github pull #3536 from ptosco)
- A couple of fixes to the build system
(github pull #3538 from ptosco)
- Modularized WASM module
(github issue #3561 from dskatov)
- A couple changes to speedup bulk similarity calculations from Python
(github pull #3574 from greglandrum)
- add documentation for the JS wrappers
(github pull #3583 from greglandrum)
- add a "comic mode" to MolDraw2D
(github pull #3584 from greglandrum)
- Add rendering of SGroup brackets to MolDraw2D
(github pull #3586 from greglandrum)
- Update Install.md
(github pull #3589 from slchan3)
- Add explicit support for remaining CTAB query bond types
(github issue #3599 from greglandrum)
- update Cookbook stereochemistry examples
(github pull #3604 from vfscalfani)
- Add support for rendering SGroup data fields to MolDraw2D
(github pull #3619 from greglandrum)
- Support rendering the "ABS" flag in MolDraw2D
(github issue #3623 from greglandrum)
- Support drawing some query bonds
(github pull #3624 from greglandrum)
- Support rendering variable attachment points
(github pull #3626 from greglandrum)
- add configuration option to disable atom symbols in the rendering
(github pull #3630 from greglandrum)
- Render link nodes in MolDraw2D
(github issue #3637 from greglandrum)
- First pass at MolZip (now with bond stereo!)
(github pull #3644 from bp-kelley)
- Add molecule annotations/notes to MolDraw2D
(github pull #3651 from greglandrum)
- support setting MolDraw2DOptions using JSON from Python
(github pull #3660 from greglandrum)
- Make the scope control for Qt more idiomatic
(github pull #3663 from d-b-w)
- Expanded MolEnumerator functionality
(github pull #3664 from greglandrum)
- add support for generating pattern fps for MolBundles
(github pull #3665 from greglandrum)
- Add a callback function to EmbedParameters struct
(github issue #3667 from jasondbiggs)
- update SequenceParsers.cpp
(github pull #3683 from magattaca)
- MCS: extend completeRingsOnly to cover atoms as well
(github issue #3693 from driesvr)
- Add Molbundle search to SWIG
(github pull #3698 from jones-gareth)
- Added getMessage method to exceptions
(github pull #3700 from sroughley)
- add context manager for MolSuppliers
(github issue #3703 from greglandrum)
- Make better use of strictParsing for SGroups
(github pull #3705 from ptosco)
- Allow using POPCNT on big-endian ppc64
(github pull #3727 from pkubaj)
- Cleanup: remove fromstring and tostring from functions working with pillow
(github issue #3730 from greglandrum)
- Set strictParsing to false in MinimalLib
(github pull #3737 from ptosco)
- 3D MCS - Minimal version, no refactoring
(github pull #3749 from robbason)
- Include Winsock2.h instead of Windows.h in DebugTrace.h
(github pull #3756 from dpaoliello)
- R group match any issue
(github pull #3767 from jones-gareth)
- Support new coordgen option to not always make bonds to metals zero-order
(github pull #3769 from greglandrum)
- DistanceGeometry: add flag to enforce trans amides
(github pull #3794 from greglandrum)
- MolDraw2D: first pass at rendering atom lists
(github pull #3804 from greglandrum)
- Issue a warning when embedding a molecule with no Hs
(github pull #3807 from greglandrum)
- Add tautomer query to the substructlibrary
(github pull #3808 from bp-kelley)
- Enhanced generateDepictionMatching2DStructure functionality
(github pull #3811 from ptosco)
- Confgen: add option to use symmetry when doing RMS pruning
(github pull #3813 from greglandrum)
- Remove boost::foreach from public headers
(github pull #3820 from ricrogz)
- Adds isotopeLabels and dummyIsotopeLabels MolDrawOptions
(github pull #3825 from ptosco)
- Added 2 Cookbook examples
(github pull #3831 from vfscalfani)
- Separate MolDraw2DQt into its own library
(github pull #3832 from d-b-w)
- Facilities for interactive modification of molecule drawing
(github pull #3833 from SPKorhonen)
- cleanup a bunch of compiler warnings
(github pull #3849 from greglandrum)
- add a new mol draw option to draw wedge bonds with a single color
(github pull #3860 from jasondbiggs)
- Add Kier Phi descriptor
(github pull #3864 from greglandrum)
- Add basic support for hydrogen bonds
(github pull #3871 from greglandrum)
- Allow batch editing of molecules: removal only
(github pull #3875 from greglandrum)
- Allow retrieving the _ErGAtomTypes property from Python
(github pull #3878 from ptosco)
- Exposes InsertMol to python RWMol
(github pull #3907 from bp-kelley)
- Use https for Avalon and Inchi downloads
(github pull #3915 from ptosco)
- support empty/missing SDT lines for SGroup data
(github pull #3916 from greglandrum)
- Cookbook entries should be updated
(github issue #3917 from greglandrum)
- MolDraw2D: support changing annotation colours
(github pull #3919 from greglandrum)
- include context managers for the multithreaded suppliers too
(github pull #3920 from greglandrum)
- Documentation cleanup and update
(github pull #3922 from greglandrum)
- remove an MSVC++ warning caused by #3849
(github pull #3927 from greglandrum)
- Adds removeAllHydrogenRGroupsAndLabels and fixes kekulization issues
(github pull #3944 from ptosco)
- Remove temporary labels from RGD results
(github pull #3947 from ptosco)
- appended a new project depend on RDKit
(github pull #3955 from kotori-y)
- Do not add unnecessary R-labels (and an optimization)
(github pull #3969 from ptosco)
- Add return codes and make RGroupDecomp less verbose
(github pull #3971 from bp-kelley)
- update to coordgen 2.0.0
(github pull #3974 from greglandrum)
## Deprecated code (to be removed in a future release):
- The "minimizeOnly" option for coordgen will be removed in the next RDKit release
# Release_2020.09.1
(Changes relative to Release_2020.03.1)
## Backwards incompatible changes
- We've added additional allowed valences for Cl (now 1, 3, 5), Br (now 1, 3,
5), I (now 1, 3, 5), At (now 1, 3, 5), Xe (now 0, 2, 4, 6), and Po (now 2, 4,
6). Molecules with atoms in the new valence states will no longer generate
sanitization errors. Note that this has an impact on the chemistry of
molecules containing 3-valent I and at least one implict H (present 24 times
in ChEMBL 27): previously this was incorrectly assigned two implicit Hs, now
it has no implicit Hs.
- Aromaticity perception of molecules like `Cc1nnc2n1c1ccccc1n1c(C)nnc12` now
correctly recognizes the full outer envelope, i.e. the bonds joining the rings
are now also aromatic.
- FindMCS() may return single atom MCSs, whereas previously it returned an empty
MCS unless there was at least one commond bond across the input structures.
So the MCS between molecules `CC` and `CO` is now `[#6]` rather than being null.
- The fontSize()/setFontSize() (FontSize()/SetFontSize()) methods in MolDraw2D
now work in units of pixels (more or less) instead of the molecule units.
- The Open3DAlign functionality is now in its own separate library - `O3AAlign`
in cmake. If you are working in C++ and using O3A functionality, you'll need
to link against this library as well now.
- Due to improvements in the tautomer enumeration code, the method
`TautomerEnumerator::enumerate` now returns a `TautomerEnumeratorResult`
object instead of a vector of molecules. Note that if you are iterating over
the results of a call to `enumerate()` you shouldn't need to change your code.
If you want to invoke the old (and deprecated, see below) form from C++, call
`TautomerNumerator::enumerate(mol, nullptr)` or explicitly pass a
`boost::dynamic_bitset*` to capture the modified atoms.
- The default precision setting for coordgen has been changed. The new default
was selected to greatly reduce the number of molecules for which it takes a
very long time to generate coordinates while still producing nice looking
structures. We may continue to tweak this default value if/when problems
with it are reported. If you would like to go back to the previous setting, set
CoordgenParams.minimizerPrecision to CoordgenParams.sketcherStandardPrecision
when you invoke rdCoordGen.AddCoords()
- Uncharger::uncharge() will now neutralize `[Cl,Br,I][O-], [Cl,Br,I](=O)[O-],
[Cl,Br,I](=O)(=O)[O-], [Cl,Br,I](=O)(=O)(=O)[O-], [O-]N=N[O-], [N,P](=O)[O-],
[N+](=O)([O-])[O-], P(=O)([O-])[O-], P(=O)([O-])([O-])[O-], S([O-])[O-],
S(=O)([O-])[O-], S(=O)(=O)([O-])[O-], S(=O)(=O)([O-])OOS(=O)(=O)[O-]`.
Previously not all of these inorganic acid counterions were consistently
neutralized.
- The `None` value in the `RGroupCoreAlignment` enum was renamed to `NoAlignment`
in both C++ and Python, in order to avoid issues when attempting to access it
from Python.
## Highlights
- There's been another big improvement in the quality of molecule drawings:
character and font handling is greatly improved thanks to the use of the
FreeType library
- A new feature has been added to efficiently allow tautomer-insensitive
substructure search.
- A new, much more accurate, algorithm is available for calculating CIP labels
on atoms and bonds.
- There's a new rdDeprotect module to allow automatically deprotecting molecules
before putting them into reactions
- Molecule and reaction metadata can now be added to PNG files generated by
MolDraw2DCairo
## Acknowledgements
Shrey Aryan, Jinserk Baik, Francois Berenger, Cédric Bouysset, David Cosgrove,
Ivan Chernyshov, Guillaume Godin, Manan Goel, Jan H. Jensen, Gareth Jones, Maria
Kadukova, Eisuke Kawashima, Steven Kearnes, Brian Kelley, Joos Kiener, Kenneth
Lum, Joshua Meyers, Rocco Moretti, Paul R Moses, Dan Nealschneider, Jin Pan,
Joann Prescott-Roy, Matthew Robinson, Jaime RodrÃguez-Guerra, Ricardo
Rodriguez-Schmidt, Jeff van Santen, Roger Sayle Vincent F. Scalfani Eric Taw,
Ansgar Schuffenhauer, Paolo Tosco, Ivan Tubert-Brohman, Riccardo Vianello,
Rachel Walker, Maciej Wójcikowski, Christopher Zou, daverona, hjuinj,
intrigus-lgtm, autodataming, paconius, sailfish009
## Bug Fixes:
- Python tests fail when RDK_BUILD_COMPRESSED_SUPPLIERS is enabled
(github issue #1888 from greglandrum)
- ResonanceMolSupplier potentially stuck in infinite loop
(github issue #2597 from tawe141)
- ctest pythonTestDirChem failed
(github issue #2757 from jinserk)
- Issue with inversion/retention of stereochemistry
(github issue #2891 from mc-robinson)
- cannot parse reaction SMILES/SMARTS with dative bonds
(github issue #2954 from greglandrum)
- ResonanceMolSupplier can fail with small maxStructs values
(github issue #3041 from greglandrum)
- seg fault in ResonanceMolSupplier()
(github issue #3048 from greglandrum)
- Bug in image rendering of dative bonds
(github issue #3056 from IvanChernyshov)
- Coordinates from coordgen are not centered around the origin
(github pull #3058 from DavidACosgrove)
- fix a typo in ScaffoldNetwork/CMakeLists.txt
(github pull #3060 from greglandrum)
- Bad double bond placement in polycyclic aromatics
(github issue #3061 from DavidACosgrove)
- SGroups with more than one attachment point are now properly parsed
(github pull #3072 from greglandrum)
- Reactions should not use strict implicit valence calculations
(github issue #3097 from mwojcikowski)
- partial reacting atom detection
(github issue #3119 from thegodone)
- DrawMolecules does not center molecules
(github issue #3126 from JoshuaMeyers)
- results from coordgen are sometimes not centered
(github issue #3131 from greglandrum)
- GCC 10.0.1 compile error
(github issue #3135 from rvianello)
- Memory leak when parsing bad SMILES
(github issue #3139 from intrigus-lgtm)
- Error breaking StereoBonds in reactions
(github issue #3147 from mc-robinson)
- MolOps::removeHs() removes hydrides
(github issue #3150 from jhjensen2)
- Kekulization error from CreateScaffoldNetwork
(github issue #3153 from greglandrum)
- Fix drawing of N plus
(github pull #3165 from DavidACosgrove)
- RWMol::clear() does not explicitly clean up SubstanceGroups or StereoGroups
(github issue #3167 from greglandrum)
- Modifying a molecule should not automatically clear SubstanceGroups
(github issue #3168 from greglandrum)
- removeHs() should not remove atoms in SubstanceGroups
(github issue #3169 from greglandrum)
- fix a memory problem detected in malformed SMILES
(github pull #3171 from greglandrum)
- Python wrapper: SetQuery and ExpandQuery for bonds
(github pull #3172 from i-tub)
- S-groups: PARENT field should reference index
(github issue #3175 from greglandrum)
- rdScaffoldNetwork causes segmenation fault upon None molecule
(github issue #3177 from AnsgarSchuffenhauer)
- fix a small inconsistency in the name of the inchi package
(github pull #3182 from rvianello)
- Molecule constructed from CXSMILES cannot be translated to SMARTS
(github issue #3197 from greglandrum)
- Formatting fix of CalcRMS
(github pull #3203 from chmnk)
- fix the CompressedSDMolSupplier python iterator interface
(github pull #3204 from rvianello)
- Queries generated from PreprocessReaction cannot be translated to SMARTS
(github issue #3206 from greglandrum)
- Attachment point info not being read from V2000 mol blocks
(github issue #3207 from greglandrum)
- Memory Sanitizer fails on molFromPickle on empty file
(github issue #3211 from intrigus-lgtm)
- Throw exception when reading from stream fails.
(github pull #3212 from intrigus-lgtm)
- fix molstogridimage on certain fragments/smarts patterns
(github pull #3217 from bp-kelley)
- Lines in wedge bonds being drawn too closely together
(github issue #3226 from paconius)
- EnumerateStereochemistry should clear CIP labels
(github issue #3231 from greglandrum)
- lock CI cairo version to force an install from the rdkit repo
(github pull #3240 from greglandrum)
- XBCORR and XBHEAD in Sgroups no longer cause parse failures
(github pull #3242 from greglandrum)
- LINKNODEs are ignored by the CTAB parsers
(github pull #3247 from greglandrum)
- add GetStringVectProp() to SubstanceGroup class
(github pull #3251 from greglandrum)
- Envelope aromaticity not detected in complex fused system
(github issue #3256 from greglandrum)
- Draw.MolsToGridImage repeating atom indices
(github issue #3258 from greglandrum)
- Atom indices clash with atom symbols in small pictures.
(github issue #3262 from DavidACosgrove)
- MinimalLib Dockerfile is broken at HEAD
(github issue #3267 from skearnes)
- Fixes #2757
(github pull #3268 from greglandrum)
- RGroupDecomposition restructuring
(github pull #3270 from bp-kelley)
- Get PPC builds working
(github pull #3285 from greglandrum)
- ScaffoldNetwork not in C# wrappers
(github pull #3289 from jones-gareth)
- bonds with "either' stereo cannot be read from JSON
(github pull #3290 from greglandrum)
- Small bug fixes and cleanups from fuzz testing
(github pull #3299 from greglandrum)
- DrawOptions: bondLineWidth behaving differently since 2020 versions
(github issue #3305 from kienerj)
- Not possible to copy SubstanceGroups in Python
(github issue #3312 from greglandrum)
- Stereochemistry perception getting confused by a bad drawing.
(github issue #3314 from greglandrum)
- SubstanceGroups should not be written with quotes around missing fields
(github issue #3315 from greglandrum)
- SetDoubleBondNeighborDirections() not overwriting existing bond directions
(github issue #3322 from greglandrum)
- AdjustQueryParameters.adjustSingleBondsBetweenAromaticAtoms does not modify ring bonds
(github issue #3325 from greglandrum)
- Fixes for aromatic bond fuzzy queries
(github pull #3328 from jones-gareth)
- lock sphinx version in CI due to problem with v3.2.0
(github pull #3332 from greglandrum)
- Remove deprecated Sphinx options
(github pull #3335 from greglandrum)
- more bug fixes and cleanups from fuzz testing
(github pull #3339 from greglandrum)
- unspecified branch bonds in SMARTS don't have aromaticity set
(github issue #3342 from greglandrum)
- Incorrect resonance structures in presence of dative bonds
(github issue #3349 from IvanChernyshov)
- Converting atoms with high radical counts to InChI generates incorrect results
(github issue #3365 from greglandrum)
- Replace fill-opacity= with fill-opacity: in MolDraw2DSVG and tests
(github pull #3368 from lummyk)
- Fixes a bug in AddHs() involving sp2 centers with degree 1
(github pull #3383 from ptosco)
- Information about charges and isotopes lost when calling AdjustQueryProperties
(github issue #3388 from greglandrum)
- prepareMolForDrawing() incorrectly adds chiral Hs if no ring info is present
(github issue #3392 from greglandrum)
- CXSMILES parser should not set atom maps for attachment points
(github issue #3393 from greglandrum)
- Fixes a couple of query-related bugs
(github pull #3398 from ptosco)
- Doing a match of a recursive smarts leaves traces of the previous match
(github issue #3403 from bp-kelley)
- Recursive smarts cannot be used in the core for rgroup decomposition
(github pull #3404 from bp-kelley)
- Improvements to reaction chirality handling
(github pull #3412 from greglandrum)
- V3K mol blocks with no atoms fail to parse
(github issue #3413 from greglandrum)
- Problem parsing SGroup data comtaining `""`
(github issue #3415 from greglandrum)
- MolEnumerator::enumerate() should call updatePropertyCache()
(github pull #3420 from greglandrum)
- Fixed bad draw scale in drawMolecules. Github3391. Take 2.
(github pull #3424 from DavidACosgrove)
- Replace fill-opacity= to fill-opacity: in reaction.out
(github pull #3426 from daverona)
- set the ChiralityPossible tag when using the new code with FindMolChiralCenters
(github pull #3434 from greglandrum)
- Silence deprecation warning
(github pull #3439 from ptosco)
- update minimallib python requirements to python3
(github pull #3449 from greglandrum)
- Fix dead links to inchi-trust
(github pull #3451 from jvansan)
- ringMatchesRingOnly=True produces a SMARTS query that return no substructure matches
(github issue #3458 from jaimergp)
- Normalization rule incorrectly matches sulfones
(github issue #3460 from greglandrum)
- BlockLogs was reenabling all logs, not just the ones that were disabled
(github pull #3466 from bp-kelley)
- Hydrogen is incorrectly identified as an "early" atom
(github issue #3470 from greglandrum)
- Fixes typo that causes the build to fail
(github pull #3477 from ptosco)
- Fix a crashing bug with None in rdMolStandardize
(github pull #3481 from greglandrum)
- zlib.h not found if not in system directories
(github issue #3493 from ricrogz)
- fix paths in ConformerParser tests
(github pull #3504 from ricrogz)
## New Features and Enhancements:
- Add GetBestRMS function
(github issue #1820 from chmnk)
- Add reorder tautomers function and accompanying tests
(github pull #3043 from chriswzou)
- Set RDK_BOOST_VERSION to pass minimum required version to FindBoost
(github pull #3074 from e-kwsm)
- bug: the MCS of the molecules CH4 and CH3OH is empty. how to return C?
(github issue #3095 from autodataming)
- start using boost:stacktrace
(github pull #3124 from greglandrum)
- Add Fuzzing, fixes #2857
(github pull #3128 from intrigus-lgtm)
- Cookbook entry for ETKDG with rings
(github pull #3129 from hjuinj)
- Fixes #2795
(github pull #3134 from manangoel99)
- Bump Catch2 to v2.12.1
(github pull #3136 from e-kwsm)
- Modernize how legacy C headers are included
(github pull #3137 from e-kwsm)
- Avoid C preprocessor macros
(github pull #3138 from e-kwsm)
- Modernization: use nullptr
(github pull #3143 from e-kwsm)
- Update fuzzer dict
(github pull #3162 from intrigus-lgtm)
- Add BCUT2D and AUTOCORR2D to desclist
(github pull #3178 from bp-kelley)
- Remove usage of the deprecated random_shuffle() function
(github pull #3187 from greglandrum)
- clang-tidy modernize-use-default-member-init and modernize-use-emplace
(github pull #3190 from greglandrum)
- Tautomer search
(github pull #3205 from jones-gareth)
- Add optional timeout to RGroupDecomposition
(github pull #3223 from greglandrum)
- Allow symmetrization to be completely disabled in RGD code
(github issue #3224 from greglandrum)
- gitignore source and build files from the RingFamilies external lib
(github pull #3228 from d-b-w)
- Add new CIP labelling algorithm
(github pull #3234 from ricrogz)
- Adds more options to adjustQueryProperties
(github pull #3235 from greglandrum)
- Improve SSSR performance for large molecules
(github pull #3236 from d-b-w)
- Support using FreeType for text rendering
(github pull #3237 from DavidACosgrove)
- Cleanup warnings from clang-10
(github pull #3238 from greglandrum)
- DEB packaging: cairo support is needed to generate PNGs
(github pull #3250 from UnixJunkie)
- Added call to test legends.
(github pull #3252 from DavidACosgrove)
- Improve performance of aromaticity detection for large molecules
(github pull #3253 from d-b-w)
- Speed up ring finding by skipping nodes not in rings
(github pull #3254 from d-b-w)
- Support enumerating some mol file features into `MolBundles`
(github pull #3257 from greglandrum)
- Add cxsmiles query atoms to CTAB parsers and writers
(github pull #3261 from greglandrum)
- Update to Coordgen v1.4.1
(github pull #3265 from ricrogz)
- ScaffoldNetwork: add feature to count the number of molecules a scaffold originates from
(github pull #3275 from greglandrum)
- rgroup speedup
(github pull #3279 from bp-kelley)
- Stop trying to assign hybridization to actinides
(github pull #3281 from greglandrum)
- Decouple coordgen and maeparser integrations
(github pull #3286 from greglandrum)
- Avoid really slow Windows conda builds
(github pull #3287 from ptosco)
- Embed default truetype font
(github pull #3288 from greglandrum)
- Expanded support for CXSMILES features
(github pull #3292 from greglandrum)
- Deprotection Library
(github pull #3294 from bp-kelley)
- Use operator() and __call__() consistently across RDKit
(github pull #3295 from ptosco)
- Molecule metadata in PNGs
(github pull #3316 from greglandrum)
- Cleanup alignment dependencies
(github pull #3317 from greglandrum)
- Add the option to minimize structures with coordgen
(github pull #3319 from greglandrum)
- Updated code for chirality perception
(github pull #3324 from greglandrum)
- Some work on TautomerEnumerator
(github pull #3327 from ptosco)
- Add fragmentOnBonds to SWIG wrappers
(github issue #3329 from greglandrum)
- Sped up SSSR by not storing every path back to root
(github pull #3333 from rachelnwalker)
- Fix Cookbook formatting and added 4 new examples
(github pull #3345 from vfscalfani)
- switch to using target_compile_definitions instead of add_definitions
(github pull #3350 from greglandrum)
- [GSoC-2020] Generalized and Multithreaded File Reader
(github pull #3363 from shrey183)
- support new CIP code and StereoGroups in MolDraw2D_detail::addStereoAnnotation()
(github issue #3369 from greglandrum)
- expose additional SubstanceGroup data members to Python
(github pull #3375 from greglandrum)
- Add MolDraw2DJS
(github pull #3376 from greglandrum)
- Add APK package link for Alpine Linux distribution
(github pull #3379 from daverona)
- Add SubstanceGroups to the SWIG Wrappers
(github pull #3390 from jones-gareth)
- Add better support for isotopic Hs to removeHs() and addHs()
(github pull #3396 from ptosco)
- Add support for abbreviations
(github pull #3406 from greglandrum)
- Allow passing explicit removeHs, sanitize and strict flags to the MDL rxn parser
(github pull #3411 from ptosco)
- Improvements to reaction chirality handling
(github pull #3412 from greglandrum)
- RGD cleanup, optimization and a better fix for #1705
(github pull #3428 from ptosco)
- Tautomers with endocyclic double bonds should be preferred over exocyclic ones
(github issue #3430 from ptosco)
- RGD: Code modernization and an optimization
(github pull #3437 from ptosco)
- expose PNG metadata functions to python
(github pull #3440 from greglandrum)
- Replace basestring
(github pull #3441 from iammosespaulr)
- Get the Uncharger to deal with a larger set of acids correctly
(github pull #3448 from ptosco)
- expose templated coordinate generation to the JS Wrapper
(github pull #3450 from greglandrum)
- change default precision for coordgen
(github pull #3452 from greglandrum)
- add coordgen support to demo.html
(github pull #3453 from greglandrum)
- Two simple MolStandardizer code cleanups
(github pull #3454 from ptosco)
- A few improvements to MolStandardize::Normalizer
(github pull #3455 from ptosco)
- Add Cookbook entries 30-32
(github pull #3459 from vfscalfani)
- A few small tweaks to the drawing code
(github pull #3464 from greglandrum)
- Make MetalDisconnector more robust against metallorganics
(github pull #3465 from greglandrum)
- Add nocharge algorithm example to cookbook
(github pull #3467 from vfscalfani)
- ROMol: add inline impl for common getNumAtoms call
(github pull #3469 from jinpan)
- Improve sphinx formatting in rdSubstructLibrary
(github issue #3471 from cbouy)
- Cmake config improvements
(github pull #3478 from rvianello)
- allow fillColour to be changed from python
(github pull #3480 from greglandrum)
- Fix undefined behavior in testCoordGen test
(github pull #3495 from roccomoretti)
- Add a version for the pattern fingerprint
(github pull #3496 from greglandrum)
- Fixes a number of issues flagged by clang
(github pull #3498 from ptosco)
- Update to maeparser v1.2.4
(github pull #3506 from sailfish009)
- Fix python invalid escape sequences
(github pull #3508 from ricrogz)
## Code removed in this release:
- To improve API consistency of the exceptions in RDKit with the default ones in
the STL, the several `message()` methods and `Invariant::getMessage()` in RDKit's
exceptions have been removed in favor of `what()`.
- The old MolHash code has been removed from the C++ code, all wrappers, and the
PostgreSQL cartridge.
## Deprecated code (to be removed in a future release):
- The function `FileParserUtils::replaceAtomWithQueryAtom()` has been moved to
the namespace QueryOps. Please use `QueryOps::replaceAtomWithQueryAtom()`
instead. The version in the `FileParserUtils` namespace will be removed in the
next release.
- The method `std::vector<ROMOL_SPTR> TautomerEnumerator::enumerate(const ROMol &mol, boost::dynamic_bitset<> *modifiedAtoms, boost::dynamic_bitset<> *modifiedBonds = nullptr)`
is deprecated and will be removed in a future release.
Please use `TautomerEnumeratorResult TautomerEnumerator::enumerate(const ROMol &mol,bool reassignStereo = true)`
instead.
- The `MolDraw2DQt` class is no longer supported since we don't think anyone is
using it. It will be removed in the 2021.03 release unless we learn otherwise.
# Release_2020.03.1
(Changes relative to Release_2019.09.1)
## Backwards incompatible changes
- Searches for equal molecules (i.e. `mol1 @= mol2`) in the PostgreSQL cartridge
now use the `do_chiral_sss` option. So if `do_chiral_sss` is false (the
default), the molecules `CC(F)Cl` and `C[C@H](F)Cl` will be considered to be equal.
Previously these molecules were always considered to be different.
- Attempting to create a MolSupplier from a filename pointing to an empty file,
a file that does not exist or sometihing that is not a standard file (i.e.
something like a directory) now generates an exception.
- The cmake option `RDK_OPTIMIZE_NATIVE` has been renamed to `RDK_OPTIMIZE_POPCNT`
## Highlights:
- The drawings generated by the MolDraw2D objects are now significantly improved
and can include simple atom and bond annotations (#2931 and #3010)
- An initial implementation of a modified scaffold network algorithm is now
available (#2911)
- A few new descriptor/fingerprint types are available - BCUTs (#2957), Morse
atom fingerprints (#1773), Coulomb matrices (#2993), and MHFP and SECFP
fingerprints (#2643)
- There is a new, and greatly improved, version of the RDKit Cookbook (#2884)
- There is a new version (v3) of the ETKDG conformer generator along with
optional new terms for handling small rings and macrocyles (http://doi.org/dqnh) (#2999)
## Acknowledgements:
Marcel Baltruschat, Jason Biggs, Eliane Briand, Ben Cornett, David Cosgrove,
Andrew Dalke, Tim Dudgeon, Zhenting Gao, Guillaume Godin, Manan Goel, Gareth
Jones, Zachary Kaplan, Eisuke Kawashima, Steven Kearnes, Brian Kelley, Maxim
Koltsov, Franziska Kruger, Mieszko Manijak, Dan Nealschneider, Daniil
Polykovskiy, Daniel Probst, Sereina Riniker, Matthew Robinson, Steve Roughley,
Kevin Ryan, Vincent F. Scalfani, Ricardo Rodriguez Schmidt, Rim Shayakhmetov,
Aryan Shrey, Nik Stiefl, Matt Swain, Paolo Tosco, Wiep van der Toorn, Riccardo
Vianello, Shuzhe Wang, Piotr Wawrzyniak, Hsiao Yi, 'jasad1', 'luancarvalhomartins'
## Bug Fixes:
- Mol rendering within DataFrames in a Jupyter Notebook is broken with Pandas 0.25.1
(github issue #2673 from mrcblt)
- Removed RDKIT_SIMDIVPICKERS_EXPORT
(github pull #2740 from ptosco)
- - enable building RDKitRingDecomposerLib.dll under Windows
(github pull #2742 from ptosco)
- Do a windows DLL build as part of the Azure DevOps setup
(github pull #2743 from greglandrum)
- Fix data race in sascorer.py
(github pull #2744 from skearnes)
- Uncharger not properly setting explicit/implicit H count
(github issue #2749 from greglandrum)
- MSVC compile error: MolHash scoped enum cannot be redeclared as unscoped
(github issue #2752 from mcs07)
- Molecules whose Y size is very small won't display as SVG
(github issue #2762 from ptosco)
- Make the cartridge tests work with PostgreSQL 12
(github pull #2767 from greglandrum)
- Salt stripper should consider bond matches as well as atom matches
(github pull #2768 from greglandrum)
- Bismuth should count as an early element
(github issue #2775 from greglandrum)
- addHs() fails on atoms with "bad" valences
(github issue #2782 from greglandrum)
- Element symbol lookup for some transuranics returns incorrect results
(github issue #2784 from LeanAndMean)
- [cartridge] molecular equality should use do_chiral_sss setting
(github issue #2790 from greglandrum)
- uncharger removes Hs from carbocations instead of adding them
(github issue #2792 from greglandrum)
- Fix build without boost serialization library
(github pull #2796 from maksbotan)
- Using `SetBoundsMat` significantly slows down conformer generation process.
(github issue #2800 from hjuinj)
- rdkit.Ched.rdFMCS.FindMCS generates invalid smarts
(github issue #2801 from luancarvalhomartins)
- Remove confId from *FFOptimizeMoleculeConfs Python docs
(github issue #2805 from ptosco)
- Hybridization queries on dummy atoms not written properly to SMARTS
(github issue #2814 from greglandrum)
- Charge range queries not properly written to SMARTS
(github issue #2815 from greglandrum)
- RDKit segfaults in MMFFOptimizeMoleculeConfs()
(github issue #2820 from ptosco)
- Trusted Smiles holder doesn't handle ring queries
(github issue #2830 from bp-kelley)
- Fix windows substructure crash
(github pull #2836 from greglandrum)
- Fix YAeHMOP build
(github pull #2838 from ptosco)
- testGithub2245 in testPickers.cpp occasionally fails
(github issue #2839 from ptosco)
- add define for RDK_USE_BOOST_SERIALIZATION
(github pull #2859 from greglandrum)
- fix start/end atoms when wedging bonds
(github pull #2861 from greglandrum)
- Fixes the size of the reduced charge matrix from eHT calculations
(github pull #2864 from greglandrum)
- Dev/pvs studio cleanups2
(github pull #2877 from greglandrum)
- segfault in MaeMolSupplier
(github issue #2881 from greglandrum)
- update maven url in build system
(github pull #2889 from greglandrum)
- EnumerateStereoisomers cannot handle STEREOANY bonds
(github issue #2890 from ricrogz)
- Update one of the cartridge tests that got missed
(github pull #2894 from greglandrum)
- acepentalene aromaticity perception
(github issue #2895 from adalke)
- New Similarity Maps drawing code Java Wrappers non-functional
(github issue #2896 from sroughley)
- Fix to allow multistructure images in Java/C# and use MCS for c# wrapper
(github pull #2898 from jones-gareth)
- Remove bogus URFLib library
(github pull #2900 from greglandrum)
- java wrapper build cleanups
(github pull #2901 from greglandrum)
- SMARTS parser fails on high-numbered ring closures in branches
(github issue #2909 from greglandrum)
- patch to make PandasTools tests pass with pandas v0.22
(github pull #2913 from greglandrum)
- fix doctest problem with Pandas v1.0
(github pull #2918 from greglandrum)
- Build with -D RDK_BUILD_COORDGEN_SUPPORT=OFF includes a test case that depends on MaeMolSupplier
(github issue #2929 from rvianello)
- MinimalLib: get_stereo_tags() should also return unspecified centers
(github issue #2936 from greglandrum)
- Fix regression introduced by e245349c
(github pull #2945 from cornett)
- Avoid data race warning in SmilesParse.cpp
(github pull #2946 from skearnes)
- Empty molecule has non-zero LabuteASA
(github issue #2948 from jasondbiggs)
- Fix a problem with aromatic heteroatom tautomer enumeration
(github pull #2952 from greglandrum)
- Molecule properties not retained with MolStandardize.rdMolStandardize.Cleanup()
(github issue #2965 from ZacharyKaplan)
- Fix build without boost serialization.
(github pull #2972 from ricrogz)
- RDKFuncs.chargeParent() core dumps when standardization is skipped
(bithub issue #2970 from tdudgeon)
- fix a typo in the scaffold network wrappers and add some tests
(github pull #2982 from greglandrum)
- Tautomer enumeration should remove stereo in all tautomers
(github issue #2990 from greglandrum)
- Segmentation fault on EmbedMolecule
(github issue #3019 from shayakhmetov)
- Removed dllexport from a function that lives in the anonymous namespace
(github pull #3027 from ptosco)
## New Features and Enhancements:
- Morse atom fingerprint
(github pull #1773 from thegodone)
- Allow serializing coordinates as doubles
(github issue #2510 from danpol)
- Rework MaeMolSupplier, fix #2617
(github pull #2620 from ricrogz)
- Implementation of MHFP and SECFP Fingerprints
(github pull #2643 from daenuprobst)
- MatchFusedRings does not imply CompleteRingsOnly anymore
(github pull #2748 from ptosco)
- Improvements to JS wrappers
(github pull #2751 from greglandrum)
- Fix installed header directory structure
(github pull #2754 from ricrogz)
- Add doRandom to the header docs
(github pull #2756 from bp-kelley)
- Add queryMol data member to MCSResult
(github pull #2759 from ptosco)
- Add functions to enable/disable the substructure matching monkey patching in IPythonConsole.py
(github issue #2786 from greglandrum)
- Add a function to assign chiral tags from sss atom parity
(github issue #2823 from ptosco)
- Support MRV_IMPLICIT_H S groups when reading Mol blocks
(github issue #2829 from greglandrum)
- Unset executable flag
(github pull #2833 from e-kwsm)
- Remove O(N) behavior of getNumBonds
(github pull #2847 from bp-kelley)
- Feature proposal: add remove_stereochemistry=False flag for RemoveHs()
(github issue #2848 from shayakhmetov)
- Expose SubstructLibrary serialization stream
(github pull #2853 from bp-kelley)
- Fix typo
(github pull #2862 from e-kwsm)
- Rename RDK_OPTIMIZE_NATIVE to RDK_OPTIMIZE_POPCNT
(github pull #2865 from ElianeBriand)
- Update Draw.MolToImage() and Draw.MolToFile() to use the new drawing code
(github pull #2866 from greglandrum)
- Improve PostgreSQL cartridge install documentation
(github pull #2870 from yellowBirdy)
- Fixes #2858
(github pull #2871 from greglandrum)
- Add a cartridge test to the azure devops config
(github pull #2873 from greglandrum)
- Add a new Cookbook v2 to the RDKit docs
(github pull #2884 from vfscalfani)
- Add MolVS tautomer canonicalization
(github pull #2886 from greglandrum)
- add a convenience function for RGD--Pandas integration
(github pull #2887 from greglandrum)
- run clang-tidy with readability-braces-around-statements
(github pull #2899 from greglandrum)
- Allow RDProps::clearProp to succeed even if the prop doesn't exist
(github issue #2910 from greglandrum)
- Add a scaffold network implementation
(github pull #2911 from greglandrum)
- cleanup of the SMILES/SMARTS parsing and writing code
(github pull #2912 from greglandrum)
- Add _ctab, _mol2, _pdb to allow direct mol construction from strings
(github issue #2916 from greglandrum)
- Parse and handle the stereoCare or STBOX flags in CTABs
(github pull #2917 from greglandrum)
- RDKit exceptions do not override the default `what()` method
(github issue #2920 from ricrogz)
- Allow custom post-match filters for substructure matching
(github pull #2927 from greglandrum)
- Proposed improvements to 2D Drawing Code
(github issue #2931 from DavidACosgrove)
- Include running the documentation tests as part of the CI runs
(github pull #2932 from greglandrum)
- Add support for phosphine and arsine chirality
(github issue #2949 from wopozka)
- A couple additions to the extended Hueckel integration
(github pull #2955 from greglandrum)
- Add BCUT 2D descriptors
(github pull #2957 from bp-kelley)
- Add multithreaded pattern/fp generator
(github pull #2973 from bp-kelley)
- Description for the data files.
(github pull #2975 from zhentg)
- Enable larger ring matches in SMARTS expressions
(github pull #2981 from d-b-w)
- ScaffoldNetwork rearrangements
(github pull #2985 from greglandrum)
- add add_hs() and remove_hs() to JS wrappers
(github pull #2986 from greglandrum)
- Add Atom Feature Vectors
(github pull #2988 from thegodone)
- Add CoulombMat calculator
(github pull #2993 from thegodone)
- Update azure-pipelines.yml
(github pull #2997 from greglandrum)
- Improve Conformational Sampling of Small and Large Ring Molecules
(github pull #2999 from hjuinj)
- Fix atom highlighting in notebook PNGs
(github pull #3000 from greglandrum)
- adds a one-liner for getting a vector of random smiles for a molecule
(github pull #3002 from greglandrum)
- Allow enhanced stereo to be used in substructure search
(github pull #3003 from d-b-w)
- Add support for the rest of the v3000 atom properties
(github pull #3007 from greglandrum)
- Move jupyter extension logging to the python logger
(github pull #3008 from bp-kelley)
- Commit of 2D draw annotation.
(github pull #3010 from DavidACosgrove)
- Update Maeparser & Coordgen Dependencies
(github pull #3011 from ricrogz)
- Remove unnecessary files
(github pull #3012 from e-kwsm)
- allow retrieval of the atoms/bonds modified by the tautomerization
(github pull #3013 from greglandrum)
- Add 5 new recipes to Cookbook
(github pull #3014 from vfscalfani)
- Turns on cairo support (and testing) in the Azure DevOps CI builds
(github pull #3022 from greglandrum)
- Added support for Python FMCS functors
(github pull #3023 from ptosco)
- add random seed to docs to get reproducible conformations
(github pull #3026 from greglandrum)
- update docs for 2020.03
(github pull #3028 from greglandrum)
- update Getting Started in C++ document
(github pull #3039 from DavidACosgrove)
## Deprecated code (to be removed in a future release):
- To improve API consistency of the exceptions in RDKit with the default ones in
the STL, the several `message()` methods and `Invariant::getMessage()` in RDKit's
exceptions are from now on deprecated in favor of `what()`. Both `message()` and
`Invariant::getMessage()` will be removed in the next release.
- The old MolHash code should be considered deprecated. This release introduces
a more flexible alternative. Specifically the following pieces will be removed in the next release:
- The python functionality `rdkit.Chem.rdMolHash.GenerateMoleculeHashString()`
- The C++ functionality directly present in the header file `GraphMol/MolHash/MolHash.h`
# Release_2019.09.1
(Changes relative to Release_2019.03.1)
## Important
- The atomic van der Waals radii used by the RDKit were corrected/updated in #2154.
This leads to different results when generating conformations, molecular volumes,
and molecular shapes.
## Backwards incompatible changes
- See the note about atomic van der Waals radii above.
- As part of the enhancements to the MolDraw2D class, we changed the type of
DrawColour from a tuple to be an actual struct. We also added a 4th element to
capture alpha values. This should have no affect on Python code (the alpha
value is optional when providing color tuples), but will require changes to C++
and Java/C# code that is using DrawColour.
- When reading Mol blocks, atoms with the symbol "R" are now converted into
queries that match any atom when doing a substructure search (analogous to "*"
in SMARTS). The previous behavior was to only match other dummy atoms
- When loading SDF files using PandasTools.LoadSDF(), we now default to
producing isomeric smiles in pandas tables. To reproduce the original
behavior, use isomericSmiles=False in the call to the function.
- The SMARTS generated by the RDKit no longer contains redundant wildcard
queries. This means the SMARTS strings generated by this release will generally
be different from that in previous releases, although the results produced by
the queries should not change.
- The RGroupDecomposition code now removes Hs from output R groups by default.
To restore the old behavior create an RGroupDecompositionParameters object and
set removeHydrogensPostMatch to false.
- The default values for some of the new fingerprint generators have been changed so
that they more closely resemble the original fingerprinting code. In
particular most fingerprinters no longer do count simulation by default and
the RDKit fingerprint now sets two bits per feature by default.
- The SMARTS generated for MCS results using the ringMatchesRingOnly or
completeRingsOnly options now includes ring-membership queries.
## Highlights:
- The substructure matching code is now about 30% faster. This also improves the
speed of reaction matching and the FMCS code. (#2500)
- A minimal JavaScript wrapper has been added as part of the core release. (#2444)
- It's now possible to get information about why molecule sanitization failed. (#2587)
- A flexible new molecular hashing scheme has been added. (#2636)
## Acknowledgements:
Patricia Bento, Francois Berenger, Jason Biggs, David Cosgrove, Andrew Dalke,
Thomas Duigou, Eloy Felix, Guillaume Godin, Lester Hedges, Anne Hersey,
Christoph Hillisch, Christopher Ing, Jan Holst Jensen, Gareth Jones, Eisuke
Kawashima, Brian Kelley, Alan Kerstjens, Karl Leswing, Pat Lorton, John
Mayfield, Mike Mazanetz, Dan Nealschneider, Noel O'Boyle, Stephen Roughley,
Roger Sayle, Ricardo Rodriguez Schmidt, Paula Schmiel, Peter St. John, Marvin
Steijaert, Matt Swain, Amol Thakkar Paolo Tosco, Yi-Shu Tu, Ricardo Vianello,
Marc Wittke, '7FeiW', 'c56pony', 'sirbiscuit'
## Bug Fixes:
- MCS returning partial rings with completeRingsOnly=True
(github issue #945 from greglandrum)
- Alternating canonical SMILES for fused ring with N
(github issue #1028 from greglandrum)
- Atom index out of range error
(github issue #1868 from A-Thakkar)
- Incorrect cis/trans stereo symbol for conjugated ring
(github issue #2023 from baoilleach)
- Hardcoded max length of SMARTs string cut of input query for FragCatlog
(github issue #2163 from 7FeiW)
- VSA_EState {1, ..., 10} calculated by rdkit doesn't seem correct.
(github issue #2372 from c56pony)
- MolStandardize: FragmentRemover should not sanitize fragments
(github issue #2411 from greglandrum)
- MolStandardize: combinatorial explosion in Normalizer
(github issue #2414 from greglandrum)
- MCS code doesn't return envelope MCS if CompleteRingsOnly is true
(github issue #2420 from greglandrum)
- RemoveHs() does not remove all hydrogens.
(github issue #2422 from paulaju)
- Incorrect assignment of explicit Hs to Al+3 read from mol block
(github issue #2423 from greglandrum)
- Cannot set maxProducts > 1000 in RunReactants
(github issue #2427 from tduigou)
- Chem.MolStandardize.standardize.Standardizer drops molecular properties
(github pull #2431 from lilleswing)
- Canon::rankMolAtoms results in crossed double bonds in rings
(github issue #2437 from greglandrum)
- make boost::iostreams optional
(github pull #2440 from greglandrum)
- Fix/rgroup sdf isotope
(github pull #2449 from bp-kelley)
- Uncharger incorrectly removing charge from boron anions
(github issue #2452 from greglandrum)
- Add java builds to azure devops
(github pull #2460 from greglandrum)
- Cart fixes
(github pull #2462 from jones-gareth)
- Typo in UFF torsion terms for SP2-SP2
(github issue #2463 from jasad1)
- Negative atom map values cause depickling to fail
(github issue #2465 from greglandrum)
- Deserialization failures crash Java wrapper
(github issue #2466 from greglandrum)
- rdkit.six fix and cleanup
(github pull #2469 from rvianello)
- dummy atom queries are flagged as complex
(github issue #2471 from greglandrum)
- 3D structure display broken in jupyter notebook
(github issue #2473 from greglandrum)
- Inconsistent defaults for nonBondedThresh in MMFF optimization
(github issue #2475 from greglandrum)
- Fix/rgroup multiple labels
(github pull #2481 from bp-kelley)
- 2D Depiction clipped atom highlighting
(github issue #2486 from DavidACosgrove)
- BRICSBuild now passes scrambleReagents to children
(github pull #2488 from greglandrum)
- Pattern Fingerprint Issues
(github issue #2501 from jones-gareth)
- CMake Error: Wrap directories being used when python build is turned off
(github issue #2516 from jasondbiggs)
- - fixes ResonanceMolSupplier bug in perceiving conjugated groups
(github pull #2517 from ptosco)
- Fix/mmff threadsafety issues
(github pull #2518 from bp-kelley)
- update expected SVG output in cartridge tests
(github pull #2520 from greglandrum)
- fix to SDWriter docs
(github pull #2521 from pstjohn)
- Fix the azure pipelines builds
(github pull #2522 from greglandrum)
- Code cleanups from PVS/Studio
(github pull #2531 from greglandrum)
- getAtomNeighbors() and getAtomBonds() not in SWIG wrappers.
(github issue #2532 from greglandrum)
- Default sanitizerxn doesn't aromatize if possible
(github issue #2547 from bp-kelley)
- Add RDKIT_FILEPARSERS_EXPORT to finishMolProcessing
(github pull #2551 from d-b-w)
- Chem.rdFMCS.FindMCS hangs for certain ligand pairs
(github issue #2581 from lohedges)
- fix the inclusion path for the targets file (#2584)
(github pull #2589 from rvianello)
- Fix inocuous typo/bug in Dative bond matching
(github pull #2593 from ricrogz)
- E/Z and CIS/TRANS stereo bonds are incorrectly matched
(github pull #2596 from ricrogz)
- Uncharger ignores dications
(github issue #2602 from greglandrum)
- Possible Garbage Collection Bug in Pharmacophore Generation
(github issue #2603 from cing)
- Uncharger incorrectly neutralizes cations when non-neutralizable anions are present.
(github issue #2605 from greglandrum)
- Bad valence corrections on Pb, Sn
(github issue #2606 from greglandrum)
- Pb and Sn should support valence 2
(github issue #2607 from greglandrum)
- Uncharger incorrectly modifying a zwitterion
(github issue #2610 from greglandrum)
- CanonicalRankAtomsInFragment breakTies doesn't
(github issue #2611 from bp-kelley)
- Pattern fingerprint failing substructure condition in very large molecules
(github issue #2614 from greglandrum)
- Memory leak with Chem.Atom() constructor
(github issue #2639 from AlanKerstjens)
- Fixes: Atoms in non-standard valences not being properly written to mol blocks
(github pull #2646 from greglandrum)
- C++ MCS code returns a null MCS between methylcyclopentane and methylcyclohexane
(github issue #2662 from ptosco)
- CXSMILES writer has error if mol comes from v3000 molfile
(github issue #2666 from d-b-w)
- MolToCXSmiles generates error for empty molecule
(github issue #2667 from greglandrum)
- fix a problem with normalize, ringinfo, and fragments
(github pull #2685 from greglandrum)
- Error when a squiggle bond is in an aromatic ring
(github issue #2695 from greglandrum)
- Cannot combine multiple range queries on a single atom.
(github issue #2709 from greglandrum)
- setBondStereoFromDirections() returning incorrect results.
(github issue #2712 from greglandrum)
- update supplier documentation to reflect python 3 iterator syntax
(github pull #2719 from greglandrum)
- removeHs messing up double bond stereo in partially sanitized molecules
(github issue #2721 from greglandrum)
- seg fault in ReactionRunner
(github issue #2722 from greglandrum)
- Intermittent test failures for JavaDistanceGeometryTests
(github issue #2727 from greglandrum)
- Fixes a bug in TorsionConstraint
(github pull #2732 from ptosco)
- Apply fix for #1592 to _MolsToGridSVG
(github pull #2737 from yishutu)
## New Features and Enhancements:
- Added rankAtoms to ROMol wrapper and added Java test case
(github pull #1540 from sroughley)
- Use van der Waals radii from blue obelisk
(github pull #2154 from UnixJunkie)
- add generateDepictionMatching2DStructure() to SWIG wrappers
(github issue #2239 from greglandrum)
- Added OptimizeMoleculeConfs with pre-generated force-field
(github pull #2401 from ptosco)
- FreeSASA improvements
(github pull #2402 from ptosco)
- Speed up symmetrizeSSSR
(github issue #2403 from d-b-w)
- Trim whitespace from mol fragment SMARTS and check SMARTS presence
(github pull #2406 from ricrogz)
- Run clang-tidy over the entire codebase
(github pull #2408 from greglandrum)
- Enable Azure Pipelines builds for CI
(github pull #2409 from ricrogz)
- Add RDProps interface to Conformers
(github issue #2441 from greglandrum)
- Add minimal JavaScript wrapper
(github pull #2444 from greglandrum)
- Fixes annoying warnings on MSVC
(github pull #2454 from ptosco)
- add prepareMolsBeforeDrawing option for drawMols
(github pull #2455 from greglandrum)
- computeGasteigerCharges quality of life improvement for python api
(github issue #2480 from bp-kelley)
- Preserve bond direction in fragmentOnBonds
(github pull #2484 from greglandrum)
- SanitizeRxn code and docstring cleanup
(github pull #2491 from greglandrum)
- Support XYZ format for output
(github pull #2498 from e-kwsm)
- vf2 optimisations
(github pull #2500 from johnmay)
- Python wrap enhanced stereo setters
(github pull #2509 from d-b-w)
- Fix the azure pipelines builds
(github pull #2522 from greglandrum)
- add a script for benchmarking fingerprint screenout and substructure performance
(github pull #2523 from greglandrum)
- make "R" in CTABs an AtomNull query
(github pull #2528 from greglandrum)
- Expose SDF loading options to LoadSDF
(github pull #2534 from bp-kelley)
- Remove unused ctest: testCanon
(github pull #2541 from ricrogz)
- Update maeparser and coordgen versions
(github pull #2542 from ricrogz)
- Improved handling of bond stereo in reactions
(github pull #2553 from ricrogz)
- Code simplification for fingerprints to np array
(github pull #2557 from ChrisHill8)
- Integrate Unique Ring Families from RingDecomposerLib
(github pull #2558 from greglandrum)
- Allow providing a bounds matrix to EmbedMol
(github pull #2560 from greglandrum)
- Enable SimilarityMaps in C++
(github pull #2562 from greglandrum)
- Do not run UnitTestMCS.py::TestTimeout in debug builds
(github pull #2569 from ricrogz)
- Expose more drawing methods to Python
(github issue #2571 from greglandrum)
- Allow Point2D to be constructed from Point3D
(github pull #2572 from greglandrum)
- Allows dative bonds to be drawn
(github pull #2573 from greglandrum)
- Allow identification of chemistry problems
(github pull #2587 from greglandrum)
- Adds MolFragmentToSmarts to generate smarts for a subset of a Molecule
(github pull #2594 from d-b-w)
- Removal of redundant wildcards in SMARTS (Null Atom/Bond Query combination)
(github pull #2595 from ricrogz)
- Support range-based charge queries from SMARTS
(github issue #2604 from greglandrum)
- Keep PDB info from Maestro files if available
(github pull #2619 from lorton)
- optimization of the MolStandardize code
(github pull #2621 from greglandrum)
- Assign stereo bond labels in molecules read from SMARTS
(github pull #2623 from ricrogz)
- Automatically load the ipython extensions running in Jupyter
(github pull #2626 from bp-kelley)
- draw zero-order bonds
(github pull #2630 from greglandrum)
- Updated cartridge documentation
(github pull #2635 from msteijaert)
- Add new mol hashing code
(github pull #2636 from greglandrum)
- emolecules link updated
(github pull #2638 from marcwittke)
- Update maeparser to 1.2.1 and coorgen to 1.3.1
(github pull #2652 from ricrogz)
- Get numpy include dir programmatically
(github pull #2653 from sirbiscuit)
- Fix long columns pandas
(github pull #2655 from sirbiscuit)
- Added AtomComparator.AtomCompareAnyHeavyAtom and test cases to FMCS code
(github pull #2656 from sroughley)
- The C++ MCS code generates ambiguous SMARTS strings
(github issue #2663 from ptosco)
- add bond-selector info to SVGs
(github pull #2664 from greglandrum)
- support writing CXSMILES from the cartridge
(github issue #2668 from greglandrum)
- support the new hashing code in the cartridge
(github pull #2671 from greglandrum)
- Adds additional capabilities to the minimal JS wrapper
(github pull #2676 from greglandrum)
- Add MolHash to Java Wrappers
(github issue #2677 from sroughley)
- A bunch of changes to the new fingerprinter code
(github pull #2679 from greglandrum)
- Add viewBox to default SVG output
(github issue #2680 from bp-kelley)
- Allow Java to see RGroup labels in the std::map wrapper.
(github pull #2681 from bp-kelley)
- Update maeparser to v1.2.2.
(github pull #2682 from ricrogz)
- Update coordgen to v1.3.2
(github pull #2686 from ricrogz)
- Add a drawOptions object to IPythonConsole
(github pull #2691 from greglandrum)
- Make StructureGroups editable from Python
(github pull #2692 from greglandrum)
- Update documentation
(github pull #2697 from greglandrum)
- Make removeHydrogensPostMatch=true the default for RGD
(github pull #2701 from greglandrum)
- Eat our own dogfood, Clone is deprecated so use copy
(github pull #2711 from bp-kelley)
- The MCS smartsString may still be ambiguous
(github issue #2714 from ptosco)
- Add threaded runner for the filter catalog
(github pull #2718 from bp-kelley)
- Add Leader picker implementation
(github pull #2724 from greglandrum)
- Add consideration of ring fusion to the MCS algorithm
(github pull #2731 from ptosco)
## Deprecated code (to be removed in a future release):
- The old MolHash code should be considered deprecated. This release introduces
a more flexible alternative. Specifically the following pieces will be removed in a future release:
- The python functionality `rdkit.Chem.rdMolHash.GenerateMoleculeHashString()`
- The C++ functionality directly present in the header file `GraphMol/MolHash/MolHash.h`
# Release_2019.03.1
(Changes relative to Release_2018.09.1)
## REALLY IMPORTANT ANNOUNCEMENT
- As of this realease (2019.03.1) the RDKit no longer supports Python 2. Please
read this rdkit-discuss post to learn what your options are if you need to
keep using Python 2:
https://www.mail-archive.com/rdkit-discuss@lists.sourceforge.net/msg08354.html
## Backwards incompatible changes
- The fix for github #2245 means that the default behavior of the MaxMinPicker
is now truly random. If you would like to reproduce the previous behavior,
provide a seed value of 42.
- The uncharging method in the MolStandardizer now attempts to generate
canonical results for a given molecule. This may result in different output
for some molecules.
## Highlights:
- There's now a Japanese translation of large parts of the RDKit documentation
- SGroup data can now be read from and written to Mol/SDF files
- The enhanced stereo handling has been improved: the information is now
accessible from Python, EnumerateStereoisomers takes advantage of it, and it
can be read from and written to CXSmiles
## Acknowledgements:
Michael Banck, Francois Berenger, Thomas Blaschke, Brian Cole, Andrew Dalke,
Bakary N'tji Diallo, Guillaume Godin, Anne Hersey, Jan Holst Jensen, Sunhwan Jo,
Brian Kelley, Petr Kubat, Karl Leswing, Susan Leung, John Mayfield, Adam Moyer,
Dan Nealschneider, Noel O'Boyle, Stephen Roughley, Takayuki Serizawa, Gianluca
Sforna, Ricardo Rodriguez Schmidt, Gianluca Sforna, Matt Swain, Paolo Tosco,
Ricardo Vianello, 'John-Videogames', 'magattaca', 'msteijaert', 'paconius',
'sirbiscuit'
## Bug Fixes:
- PgSQL: fix boolean definitions for Postgresql 11
(github pull #2129 from pkubatrh)
- update fingerprint tutorial notebook
(github pull #2130 from greglandrum)
- Fix typo in RecapHierarchyNode destructor
(github pull #2137 from iwatobipen)
- SMARTS roundtrip failure
(github issue #2142 from mcs07)
- Error thrown in rdMolStandardize.ChargeParent
(github issue #2144 from paconius)
- SMILES parsing inconsistency based on input order
(github issue #2148 from coleb)
- MolDraw2D: line width not in python wrapper
(github issue #2149 from greglandrum)
- Missing Python API Documentation
(github issue #2158 from greglandrum)
- PgSQL: mol_to_svg() changes input molecule.
(github issue #2174 from janholstjensen)
- Remove Unicode From AcidBasePair Name
(github pull #2185 from lilleswing)
- Inconsistent treatment of `[as]` in SMILES and SMARTS
(github issue #2197 from greglandrum)
- RGroupDecomposition fixes, keep userLabels more robust onlyMatchAtRGroups
(github pull #2202 from bp-kelley)
- Fix TautomerTransform in operator=
(github pull #2203 from bp-kelley)
- testEnumeration hangs/takes where long on 32bit architectures
(github issue #2209 from mbanck)
- Silencing some Python 3 warning messages
(github pull #2223 from coleb)
- removeHs shouldn't remove atom lists
(github issue #2224 from rvianello)
- failure round-tripping mol block with Q atom
(github issue #2225 from rvianello)
- problem round-tripping mol files that include bond topology info
(github issue #2229 from rvianello)
- aromatic main-group atoms written to SMARTS incorrectly
(github issue #2237 from greglandrum)
- findPotentialStereoBonds() stopping too early
(github issue #2244 from greglandrum)
- MinMax Diversity picker seeding shows deterministic / non-random behaviour
(github issue #2245 from sroughley)
- Fix to serialize binary strings
(github pull #2264 from bp-kelley)
- Recognize N in three-membered rings as potentially chiral
(github issue #2268 from greglandrum)
- Failure when parsing mol block with M PXA
(github issue #2277 from greglandrum)
- query-query matching failing for atoms constructed from SMARTS
(github issue #2299 from greglandrum)
- SMILES parsing fails for dative ring closures
(github issue #2303 from greglandrum)
- Missing Dict.h overload: std::string Dict::getVal<std::string>
(github issue #2308 from greglandrum)
- fix a problem with the random pickers test
(github pull #2310 from greglandrum)
- Some tests still failing on less common platforms.
(github issue #2311 from giallu)
- AddHs() using 3D coordinates with 2D conformations
(github pull #2328 from greglandrum)
- change to make the SWIG builds work on windows
(github pull #2340 from greglandrum)
- uncharger behaves differently on molecules constructed from mol blocks and SMILES
(github issue #2346 from greglandrum)
- Memory Error When Writing ToBinary With "AllProps"
(github issue #2352 from atom-moyer)
- Seg fault on init if RDBASE is not set
(github issue #2368 from greglandrum)
- PandasTools.FrameToGridImage() fails with SVG output
(github issue #2380 from greglandrum)
- ClusterMols.GetDistanceMatrix throws a type error in Python 3
(github issue #2387 from John-Videogames)
- Uncharging logic reversed: protonate non-acids first
(github issue #2392 from Anne Hersey)
## New Features and Enhancements:
- Allow access to Enhanced Stereochemistry information from Python
(github issue #2108 from d-b-w)
- Adopt EnumerateStereoisomers to use extended stereo
(github issue #2109 from greglandrum)
- Enable ctest -T memcheck
(github pull #2113 from ricrogz)
- Support for parsing/writing SGroups in SD Mol files
(github pull #2138 from ricrogz)
- Rename the #define _DEBUG to MMPA_DEBUG in mmpa.cpp
(github pull #2140 from baoilleach)
- MolDraw2D: line width should be controlled by MolDrawOptions
(github issue #2151 from greglandrum)
- Some refactoring of the distance geometry code
(github pull #2153 from greglandrum)
- Less warnings
(github pull #2155 from UnixJunkie)
- ShapeTverskyIndex python function
(github pull #2156 from susanhleung)
- Skip compound if smiles conversion fails
(github pull #2168 from msteijaert)
- Fix #2176: InChI functions should return NULL on un-InChI-able input molecules.
(github pull #2177 from janholstjensen)
- Update installation instructions for Linux
(github pull #2181 from sirbiscuit)
- Update CMake rules to find external coorgen & maeparser libs
(github pull #2184 from ricrogz)
- Update to use the travis Xenial environment
(github pull #2200 from greglandrum)
- Do not allow PandasTools to overwrite pandas settings
(github pull #2206 from sirbiscuit)
- re-enable (and update) the file parser tests
(github pull #2208 from greglandrum)
- Added documentation files written in Japanese into Book directory
(github pull #2210 from magattaca)
- Add C++ convenience function for drawing ROMols
(github issue #2220 from greglandrum)
- Change boost int types to std types
(github pull #2233 from bp-kelley)
- Added exports for SGroup functions
(github pull #2242 from ricrogz)
- Use coordMap when starting embedding from random coords
(github issue #2246 from greglandrum)
- Improve interactivity of output SVG
(github pull #2253 from greglandrum)
- Add options for substructure searching
(github pull #2254 from greglandrum)
- keep extra information about bonds from Mol files
(github pull #2260 from greglandrum)
- Allow converting mol blocks directly to InChI
(github pull #2262 from greglandrum)
- Patch/pains updates
(github pull #2272 from johnmay)
- add warning for 2D conformations flagged as 3D
(github pull #2273 from greglandrum)
- Store extra CXSMILES data as a property
(github pull #2281 from ricrogz)
- Parse enhanced stereo information from CXSMILES
(github pull #2282 from ricrogz)
- Robustify parsing of CTABs and SGROUPs
(github pull #2283 from greglandrum)
- Write enhanced stereo to cxsmiles
(github pull #2290 from greglandrum)
- Allow custom type-handlers in the RDProps interface
(github pull #2293 from bp-kelley)
- Add serialization to SubstructLibrary
(github pull #2295 from bp-kelley)
- support reading/writing atom props from SD files
(github pull #2297 from greglandrum)
- Add test for issue #2285, fix molbundle test
(github pull #2301 from bp-kelley)
- Update maeparser & coordgen libraries
(github pull #2302 from ricrogz)
- Mem errors clean up
(github pull #2305 from ricrogz)
- Add definition of MolFragmentToCXSmiles
(github pull #2307 from greglandrum)
- Doc update
(github pull #2312 from greglandrum)
- Adds gzstream stream, exposes to swig
(github pull #2314 from bp-kelley)
- Remove a bunch of Python2-related warts
(github pull #2315 from greglandrum)
- some much-needed optimization work on the new property lists
(github pull #2317 from greglandrum)
- Build warnings revisited
(github pull #2318 from ricrogz)
- change bogus "3D" to "2D" in a test file
(github pull #2319 from greglandrum)
- Allow copying atoms in Python
(github pull #2322 from d-b-w)
- fixes an r-group symmetrization problem
(github pull #2324 from greglandrum)
- simple docstring fix
(github pull #2326 from sunhwan)
- allow using system's catch2 for tests
(github pull #2327 from giallu)
- Python wrap DetectAtomStereoChemistry from MolFileStereochem.h
(github issue #2329 from d-b-w)
- switch to using cmake to handle the C++ spec
(github pull #2334 from greglandrum)
- WIP: optional integration with YAeHMOP
(github pull #2335 from greglandrum)
- Exposes substructlibrary to swig
(github pull #2337 from bp-kelley)
- Add a skip_all_if_match option to the FragmentRemover
(github pull #2338 from greglandrum)
- Dev/general csharp fixes
(github pull #2341 from bp-kelley)
- Add a read-only Python wrapper for SGroups
(github pull #2343 from greglandrum)
- Expose RGroupDecomposition to SWIG
(github pull #2345 from greglandrum)
- update debian build script to python3
(github pull #2350 from UnixJunkie)
- add GetStereoIsomerCount() function to EnumerateStereoisomers
(github pull #2354 from greglandrum)
- Update coordgenlibs to v1.2.2
(github pull #2355 from ricrogz)
- Small fixes to get DLLs to build on Windows
(github pull #2356 from ptosco)
- Boost deprecation warning
(github pull #2357 from d-b-w)
- Removes an extra debugging cerr statment
(github pull #2360 from d-b-w)
- Preserve enhanced stereo in reactions
(github pull #2366 from d-b-w)
- improvements to the Uncharge functionality
(github pull #2374 from greglandrum)
- Add ExplicitBitVect prop and query
(github pull #2384 from bp-kelley)
- Allow components of the MolStandardize code to be initialized from streams
(github pull #2385 from greglandrum)
# Release_2018.09.1
(Changes relative to Release_2018.03.1)
## Deprecations
- As part of the changes and cleaning up done for #1836 many of the `#defines`
used in the RDKit have been renamed.
- `USE_BUILTIN_POPCOUNT` -> `RDK_OPTIMIZE_NATIVE`
- `RDK_THREADSAFE_SSS` -> `RDK_BUILD_THREADSAFE_SSS`
- `BUILD_COORDGEN_SUPPORT` -> `RDK_BUILD_COORDGEN_SUPPORT`
- `BUILD_AVALON_SUPPORT` -> `RDK_BUILD_AVALON_SUPPORT`
- `BUILD_INCHI_SUPPORT` -> `RDK_BUILD_INCHI_SUPPORT`
- `BUILD_SLN_SUPPORT` -> `RDK_BUILD_SLN_SUPPORT`
- `RDK_CAIRO_BUILD` -> `RDK_BUILD_CAIRO_SUPPORT`
## Documentation updates
We have moved to using Sphinx's autodoc to create the Python API documentation.
`epydoc`, the tool we used to use, is no longer actively developed and only supports
Python2. There will undoubtedly be problems associated with the change; if you notice
anything missing in the documetation or something that's really badly formatted,
please either let us know or submit a PR with a fix.
## Backwards incompatible changes
This release includes a set of changes to make the default arguments to common
functions less error prone (github #1679).
- GetAtomSmiles() now generates isomeric SMILES by default.
- The ringMatchesRingOnly option to the FindMCS() function now applies to
atom-atom matches as well as bond-bond matches.
- The Python functions EmbedMolecule() and EmbedMultipleConfs() now use the
ETKDG algorithm by default instead of standard distance geometry.
## Highlights:
- This release includes two contributions from the Google Summer of Code:
- A new generalized fingerprint generator.
- An integration/port of MolVS to the core RDKit.
The API on both of these may change a bit with future releases.
- The rdkit.Chem.Draw module now includes functions for depicting fingerprint
bits. Morgan and RDKit fingerprints are currently supported.
## Acknowledgements:
Boran Adas, Francois Berenger, Thomas Blaschke, Brian Cole, Andrew Dalke, Guillaume Godin,
Brice Hoff, Brian Kelley, Karl Leswing, Susan Leung, Pat Lorton, Josh Meyers, Hirotomo Moriwaki,
Dan Nealschneider, Noel O'Boyle, Pavel Raiskup, Sereina Riniker, Ricardo Rodriguez Schmidt,
Stephen Roughley, Roger Sayle, Takayuki Serizawa, Rim Shayakhmetov, Gregory Simm, Jon Sorenson,
Matt Swain, Kiran Telukunta, Paulo Tosco, Alain Vaucher, Maciej Wójcikowski, '0xDECAFC0FFEE',
'jaechanglim', 'paconius'
## Contrib updates:
- The FastCluster code has been updated.
## New Features and Enhancements:
- expose MolChemicalFeature.{get,set}ActiveConformer() to python
(github issue #1636 from greglandrum)
- added Scripts/create_deb_packages.sh
(github pull #1655 from UnixJunkie)
- Start to use Catch2 for new tests
(github pull #1732 from greglandrum)
- Switch DbCLI scripts from optparse to argparse
(github issue #1778 from greglandrum)
- Add EEM partial charges
(github pull #1828 from greglandrum)
- Add header file providing access to RDKit compile time flags
(github issue #1836 from greglandrum)
- add control over the coordinate precision to coordgen
(github pull #1847 from greglandrum)
- Add Properties interface to ChemicalReactions
(github pull #1848 from greglandrum)
- Switch Python API documentation generation over to Sphinx autodoc
(github pull #1849 from greglandrum)
- expose MolOps::assignStereochemistryFrom3D() to Python
(github issue #1850 from greglandrum)
- bivariate_normal deprecation in mlab.py of matplotlib
(github issue #1851 from telukir)
- Expose minAtomRingSize() and minBondRingSize() to Python wrappers
(github pull #1859 from mwojcikowski)
- enable building DLLs on Windows
(github pull #1861 from ptosco)
- Fix compatibility with Boost 1.67+
(github pull #1864 from mcs07)
- Don't manually set RDConfig paths in conda env
(github pull #1865 from mcs07)
- Make svg xmlns prefix use more consistent
(github pull #1866 from mcs07)
- Add custom 3D Descriptors
(github pull #1867 from greglandrum)
- Add initial Maestro format Supplier using maeparser library
(github pull #1872 from lorton)
- add queryAtomNonHydrogenDegree() query operation
(github issue #1873 from greglandrum)
- Add an auto-populated file with cmake config options
(github pull #1874 from greglandrum)
- Custom property VSA
(github pull #1884 from sriniker)
- Swap maeparser and coordgen dependencies to use releases
(github issue #1887 from greglandrum)
- expose MolDraw2DSVG.tagAtoms() to python
(github pull #1897 from greglandrum)
- allow the cleanup step of Mol2 parsing to be disabled
(github pull #1898 from greglandrum)
- Allow Atom.GetAtomSmarts() to return isomeric SMILES
(github pull #1902 from greglandrum)
- Allow coordgen and maeparser to be built as static libraries
(github pull #1909 from ptosco)
- Support reaction_to_svg() in cartridge
(github issue #1916 from greglandrum)
- Addresses several minor warning messages during the build
(github pull #1935 from d-b-w)
- Some optimization of the queries constructed from SMARTS
(github pull #1940 from greglandrum)
- Add ring/chain match constraints options to AdjustQueryParameters()
(github issue #1943 from greglandrum)
- roc calculation naming problem
(github pull #1975 from 0xDECAFC0FFEE)
- Fingerprinting functions should call assignStereochemistry() when necessary
(github issue #1993 from bricehoff)
- Dev/GSOC2018_MolVS_Integration
(github pull #2002 from susanhleung)
- GSoC 2018 - Fingerprints
(github pull #2005 from Boranadas)
- port fingerprint bit rendering code from CheTo
(github pull #2008 from greglandrum)
- PgSQL: add support for PostgreSQL_CONFIG cmake var
(github pull #2014 from praiskup)
- Add missing boost header for v1.64
(github pull #2016 from gncs)
- Enhanced stereo read/write support in SDF files.
(github pull #2022 from d-b-w)
- IPythonConsole hooks should copy the original docstring
(github issue #2025 from adalke)
- Allow dumping interchange information into SVG files
(github pull #2030 from greglandrum)
- MCS: add test for ring--non-ring matches at the atom level
(github issue #2034 from greglandrum)
- Ability to generate a list of possible smiles representation for a given molecule
(github issue #2042 from thegodone)
- add scoring test (relevant to #1975)
(github pull #2064 from greglandrum)
- actually run the SmilesWriterNoNames() test
(github pull #2067 from greglandrum)
- Add a default for maximum products generated by a reaction (maxProduc…
(github pull #2069 from bp-kelley)
- Add user-defined literals for parsing SMILES and SMARTS
(github pull #2070 from greglandrum)
- move rdInfoLog to stderr
(github pull #2073 from greglandrum)
- add confId argument to MolChemicalFeatureFactor::getFeaturesForMol()
(github issue #2077 from greglandrum)
- Expose a CMake flag to build RDKit with -rpath
(github pull #2084 from coleb)
- Dev/expose setquery to python
(github pull #2088 from bp-kelley)
- Updated .gitignore with files generated outside of build directory.
(github pull #2095 from ricrogz)
- Address compile warnings & trivial improvements
(github pull #2097 from ricrogz)
- Coordgen: stop printing Templates location
(github pull #2102 from greglandrum)
- Update Docs For CalcBEDROC
(github pull #2103 from lilleswing)
## Bug Fixes:
- Cannot find rings for ChEBI 50252
(github issue #299 from greglandrum)
- Feature request: #defines to test RDKit version
(github issue #1454 from baoilleach)
- Atoms in residue read from pdb lose their AtomPDBResidueInfo after reaction (Bug)
(github issue #1632 from hjuinj)
- SMARTS parse failure for some queries involving Hs
(github issue #1719 from greglandrum)
- Conformer indexing bug in RDFreeSASA.cpp?
(github issue #1786 from paconius)
- allow libs to not be installed
(github pull #1832 from greglandrum)
- RWMol::addAtom(Atom,bool) missing from Java wrappers
(github issue #1837 from greglandrum)
- RWMol::clear now calls ROMol::initMol
(github pull #1844 from bp-kelley)
- Allow types.h to be included in applications that use /D_USE_MATH_DEFINES
(github pull #1846 from d-b-w)
- Fixes failing Python tests on Windows
(github pull #1855 from ptosco)
- Allow building on cygwin using -std=c++11
(github pull #1856 from greglandrum)
- Stop using the cmake Boost:: targets
(github pull #1858 from greglandrum)
- R-group Decomposition: allow H replacements when matchOnlyAtRgroups is set
(github pull #1871 from bp-kelley)
- Mark cartridge functions as being parallel safe
(github issue #1886 from greglandrum)
- Fixes locale handling on Windows
(github pull #1892 from ptosco)
- get the pandas tests working with pandas 0.23
(github pull #1896 from greglandrum)
- "make install" appears to miss RDBoost/export.h
(github issue #1903 from baoilleach)
- Fix curl fallback for downloading files
(github pull #1904 from d-b-w)
- Bond stereo information not output to SMARTS
(github issue #1906 from greglandrum)
- Library .so names missing RDKit?
(github issue #1913 from baoilleach)
- Negated atom number queries in SMARTS should not set atomic number of query atom
(github issue #1920 from greglandrum)
- memory leak in Get3DDistanceMatrix
(github issue #1924 from jaechanglim)
- Atom with bond to itself is accepted by the SMILES parser.
(github issue #1925 from tblaschke)
- Possibly incorrect aromatic SMILES generated for structure
(github issue #1928 from baoilleach)
- Using the coordgen library seems to cause a seg fault
(github issue #1929 from JoshuaMeyers)
- Aromaticity failure in 7-ring with charged radical carbon
(github issue #1936 from bp-kelley)
- Fix embarassing bug, check the counter each iteration
(github pull #1939 from bp-kelley)
- RuntimeError when importing rdkit.Chem.Descriptors with Python 3.7
(github issue #1948 from drkeoni)
- Query features in products of rxn files not properly handled
(github issue #1950 from greglandrum)
- ReactionToSmarts broken for multi-component templates
(github issue #1955 from bp-kelley)
- update knime urls in overview.md
(github pull #1966 from greglandrum)
- CXN extended SMILES labels are not applied to the correct atom in SMILES with explicit H
(github issue #1968 from baoilleach)
- MolFromSmarts MolToSmarts fails to roundtrip on patterns with chirality
(github issue #1985 from bp-kelley)
- QueryAtoms with atom list queries should not have the atomic number set
(github issue #1988 from greglandrum)
- RemoveHs not properly updating double bond stereoatoms
(github issue #1990 from shayakhmetov)
- Error while parsing empty atom list in Mol files.
(github issue #2000 from drkeoni)
- Cleanup step of sanitization sometimes sets undesired formal charges
(github issue #2020 from avaucher)
- GetBondSmiles() returns nothing for wedged bonds when allBondsExplicit is true
(github issue #2029 from greglandrum)
- PMIs and NPRs return same value between different conformer
(github issue #2037 from philopon)
- Failure to parse V3K mol file with bonds to multi-center linkage points
(github issue #2040 from greglandrum)
- patch a memory allocation problem in the maeparser v1.0.0
(github pull #2044 from greglandrum)
- CIPRank values from JSONDataToMols are not unsigned
(github issue #2046 from greglandrum)
- switch to v1.0.1 of the maeparser
(github pull #2048 from greglandrum)
- Update fastcluster code
(github pull #2051 from greglandrum)
- Fix memory leak in Dict operator=
(github pull #2061 from bp-kelley)
- Atom mapping lost after call to MergeQueryHs()
(github issue #2062 from greglandrum)
- Drawing racemic bond stereo as crossed bonds should be the default
(github issue #2063 from coleb)
- Moved test.h from RDBoost to RDGeneral for consistency with export.h
(github pull #2074 from ptosco)
- CTABs behave differently than before regarding stereo
(github issue #2082 from bp-kelley)
- BitInfo not complete for RDKFingerprint
(github issue #2115 from greglandrum)
## Removed code:
- Remove the deprecated MolDrawing code
(github pull #2111 from greglandrum)
# Release_2018.03.1
(Changes relative to Release_2017.09.1)
## C++11 notes
Starting with this release, the RDKit core C++ code is written in modern C++;
for this release that means C++11. This means that the compilers used to build
it cannot be completely ancient. Here are the minimum tested versions:
- g++ v4.8: though note that the SLN parser code cannot be built with v4.8. It
will automatically be disabled when this older compiler is used.
- clang v3.9: it may be that older versions of the compiler also work, but we
haven't tested them.
- Visual Studio 2015: it may be that older versions of the compiler also work,
but we haven't tested them.
## Backwards incompatible changes
This release includes a set of changes to make the default arguments to common
functions less error prone (github #1679).
- MolToSmiles() now generates isomeric SMILES by default.
- The embedding code now uses the ETKDG method by default.
- MolToMolBlock() will now by default generate a set of 2D coordinates for
molecules when the includeStereo option is set to True. The changes are made
to a copy of the molecule; the molecule itself will not be modified.
- The Mol file (and SDF) parser now determines atomic stereochemisty based on
the 3D coordinates provided (if 3D coordinates are provided).
- The SMILES parser now supports CXSMILES by default (assuming that additional
text that looks like CXSMILES extensions is there).
In every case the old behavior can be obtained by providing an optional argument
to the function(s) mentioned.
## Acknowledgements:
Boran Adas, José Emilio Sánchez Aparicio, Patrick Avery, Jason Biggs, Brian
Cole, Andrew Dalke, JW Feng, Peter Gedeck, Guillaume Godin, Richard Hall, Thomas
Heavy, Gareth Jones, Brian Kelley, Karl Leswing, Susan Leung, Chris Morris, Dan
Nealschneider, Noel O'Boyle, Axel Pahl, Pavel Polishchuk, Sereina Riniker, Jeff
van Santen, Roger Sayle, Martin Å Ãcho, Matt Swain, Paolo Tosco, Sam Webb, Maciej
Wójcikowski, Nicola Zonta, 'clinntt', 'hjuinj', 'iwatobipen',
## Highlights:
- An initial version of an integration with Schrodinger's coordgen library is
included. This produces much better 2D coordinates for complex molecules.
- Thanks to the move to modern C++ the RDKit is now faster and uses less
memory
- A number of improvements were made to the PDB reader
- v2 of the ETKDG torsions and potentials is now available
## Contrib updates:
- Implementation of Peter Ertl's IFG method for identifying functional groups
from Guillaume Godin and Richard Hall
(github pull #1813 from thegodone)
## New Features and Enhancements:
- Support InChi 1.05
(github issue #1533 from greglandrum)
- Update CPack to create .deb files correctly
(github pull #1580 from psavery)
- Initial commit of EnumerateHeterocycles
(github pull #1588 from coleb)
- Version 2 of ETKDG
(github pull #1597 from sriniker)
- GetMolFrags now optionally returns atom indices along with mols
(github pull #1602 from ptosco)
- NP Likeness with confidence value
(github pull #1608 from apahl)
- Adding an option to EnumerateStereoisomers to only return unique isomers
(github pull #1612 from coleb)
- Add function wedgeBond()
(github issue #1615 from greglandrum)
- Dev/substructlibrary docs
(github pull #1620 from bp-kelley)
- Turns off exception throwing for certain classes Rlabel sanitization.
(github pull #1621 from bp-kelley)
- Add an "MDL" aromaticity model
(github issue #1622 from hjuinj)
- Add support for %(NNN) notation for ring closures
(github pull #1624 from baoilleach)
- Enable windows build that uses cairo
(github pull #1628 from greglandrum)
- [MRG] Fix PDB reader + add argument to toggle proximity bonding
(github pull #1629 from mwojcikowski)
- Improve AddHs for molecules read from PDB
(github pull #1647 from mwojcikowski)
- Improved regression test for ETKDG version 2
(github pull #1640 from sriniker)
- RDKit interpretation of atom stereo SMILES is different from 4 other toolkits
(github issue #1652 from coleb)
- Treat bonds in PDB CONECT records explicitly, but make blacklisted ones zero-order.
(github pull #1658 from mwojcikowski)
- There is no need to enforce that (i, j) and (k, l) be bonded when setting a i, j, k, l dihedral
(github pull #1673 from ptosco)
- Make default arguments to common functions less error prone
(github issue #1679 from greglandrum)
- Add Fast cluster script
(github pull #1683 from iwatobipen)
- Update embedded InChI to v1.05
(github pull #1684 from mcs07)
- Add `AllChem.MMFFGetMoleculeForceField().CalcGradient()` to Python wrappers
(github issue #1688 from theavey)
- Play nice with naughty MOL blocks
(github issue #1689 from jw-feng)
- Make the defaults for some functions less error prone.
(github pull #1690 from greglandrum)
- implemented Python wrappers for computing PMI axes and moments
(github pull #1700 from ptosco)
- Enable range-based for loops for molecules
(github pull #1701 from bp-kelley)
- Support some cactvs extensions to SMARTS
(github pull #1704 from greglandrum)
- Integrate Coordgen
(github pull #1708 from greglandrum)
- Removes ATOM/BOND_SPTR in boost::graph in favor of raw pointers
(github pull #1713 from greglandrum)
- Set atomic properties from SMARTS
(github pull #1716 from greglandrum)
- Allow installation of Python tests to facilitate testing installations
(github pull #1724 from greglandrum)
- setAromaticity() should work even if there are aromatic atoms present
(github issue #1730 from greglandrum)
- Use uint32 atom and bond indices
(github pull #1742 from greglandrum)
- Switch from boost::thread to std::thread
(github pull #1745 from greglandrum)
- switch to using std::regex in the SLN parser
(github pull #1746 from greglandrum)
- replace the usage of rdk_auto_ptr with std::unique_ptr
(github pull #1752 from greglandrum)
- getMolBoundsMatrix() should do triangle bound smoothing by default
(github issue #1763 from greglandrum)
- Added Morgan feature fingerprints to Java API
(github pull #1764 from jones-gareth)
- Reaction fingerprints not exposed in Java wrapper
(github issue #1776 from webbres)
- add Tversky index calculation for shapes
(github pull #1777 from susanhleung)
- Add MolToInchiKey function()
(github pull #1784 from greglandrum)
- speedup the NumBitsInCommon operation
(github pull #1785 from greglandrum)
- Stop putting brackets around * atoms in SMILES
(github pull #1788 from greglandrum)
- Support for a JSON-based molecule interchange format
(github pull #1798 from greglandrum)
## Bug Fixes:
- Fixes Java wrapper build error with Boost 1.64
(github pull #1613 from ptosco)
- AssignStereochemistry cleanIt=True incorrectly removing new CIS/TRANS bond stereo
(github issue #1614 from coleb)
- switch to using a specific freesasa version
(github pull #1619 from greglandrum)
- Add support for %(NNN) notation for ring closures
(github pull #1624 from baoilleach)
- Draw._moltoSVG() raises an exception
(github issue #1625 from greglandrum)
- MolDrawCairo2D does not build on windows
(github issue #1627 from greglandrum)
- Enable windows build that uses cairo
(github pull #1628 from greglandrum)
- don't always download the FreeSASA source
(github issue #1630 from greglandrum)
- Make sure EmbedMultipleConfs is deterministic for very large seeds and a seed of 0
(github pull #1635 from coleb)
- from rdkit.Chem import AllChem has grown a six dependency
(github issue #1637 from bp-kelley)
- Fixing bug in IPythonConsole SVG rendering introduced in 1027d4469545653180fff9a38dc8224bd50e8b0d
(github pull #1641 from coleb)
- changes required to allow replacing the obsolete __conda_version__ in conda-rdkit
(github pull #1644 from ptosco)
- GetConformerRMSMatrix does not work if some conformers were removed
(github issue #1650 from DrrDom)
- EnumerateLibrary with initFromString called twice doesn't clear the reaction
(github issue #1657 from bp-kelley)
- Missed symmetrization in R-Group decomposition
(github issue #1659 from greglandrum)
- Use numpy not numeric for boost 1.65+ - fixes #1581
(github pull #1664 from mcs07)
- Support valence 7 for As, Sb, and Bi
(github issue #1668 from greglandrum)
- Fix: GetDonor2FeatVects heavy atoms confusion
(github pull #1676 from josan82)
- Acetylenic hydrogens not given appropriate 2D coordinates
(github issue #1691 from jasondbiggs)
- Warning on import of rgroup decomposition package
(github issue #1695 from greglandrum)
- AUTOCORR2D.h not installed unless RDK_BUILD_DESCRIPTORS3D but is required
(github issue #1702 from baoilleach)
- Dative bonds interfere with kekulization and the perception of aromaticity
(github issue #1703 from greglandrum)
- Fix/rgroup prefer matching nonhs over hs
(github pull #1707 from bp-kelley)
- bonds that are STEREOCIS or STEREOTRANS cannot be depickled
(github issue #1710 from greglandrum)
- Get queries from the new cactvs SMARTS extensions to pickle correctly
(github pull #1712 from greglandrum)
- fix an irritating cmake problem
(github pull #1715 from greglandrum)
- Added dependency from Boost headers to PgSQL CMakeLists.txt
(github pull #1717 from ptosco)
- Updates python test runner to always use sys.executable
(github pull #1721 from bp-kelley)
- - make bond stereo detection in rings consistent
(github pull #1727 from ptosco)
- xlocale.h not needed to compile with clang
(github issue #1728 from adalke)
- BreakBRICSBonds() not preserving stereochemistry
(github issue #1734 from greglandrum)
- rdmolfiles.CanonicalRankAtoms segfaults on 0 atom molecules
(github issue #1735 from lilleswing)
- deprecated apply() function causes GetRDKFingerprint to fail in Python 3
(github issue #1747 from clinntt)
- Stop dereferencing end() iterators
(github pull #1748 from greglandrum)
- out of range fromAtom causes GetMorganFingerprintAsBitVect to segfault
(github issue #1749 from adalke)
- Generated SMARTS does not contain atomic chiral tags
(github issue #1756 from greglandrum)
- make the build work even if boost::serialization is disabled
(github pull #1767 from greglandrum)
- Fix typo in GetBoolProp documentation
(github pull #1770 from jvansan)
- Fingerprint segfaults with branchedPaths=False and useHs=False
(github issue #1793 from chrishmorris)
- Fix python linkage (primarily for conda builds)
(github pull #1808 from greglandrum)
- removeHs() should not remove H atoms that are contributing to the definition of a stereo bond
(github pull #1810 from d-b-w)
- global EmbedParameters objects should not be writeable in SWIG wrappers
(github issue #1826 from greglandrum)
- RDKit crashes when MolsToGridImage function is called with an empty iterable.
(github issue #1829 from martin-sicho)
# Release_2017.09.1
(Changes relative to Release_2017.03.1)
## Important
- The fix for bug #1567 changes the way fragment SMILES are canonicalized.
MolFragmentToSmiles() and canonicalizeFragment() will now often return
different results
- The fix for bug #1604 changes the behavior of QueryAtom::setQuery(), which
now deletes the current query before setting the new value. If you are using
QueryAtom::setQuery() from C++ (or possibly Java), be sure that you are not
also deleting that memory.
## Acknowledgements:
Brian Cole, Peter Gedeck, Guillaume Godin, Jan Halborg Jensen, Malitha Kabir,
Tuomo Kalliokoski, Brian Kelley, Noel O'Boyle, Matthew O'Meara, Pavel
Polishchuk, Cameron Pye, Christian Ribeaud, Stephen Roughley, Patrick Savery,
Roger Sayle, Nadine Schneider, Gregor Simm, Matt Swain, Paolo Tosco, Alain
Vaucher, Sam Webb, 'phenethyl', 'xiaotaw'
## Highlights:
- The new R-Group decomposition code provides a flexible and powerful tool for
building R-group tables or datasets look in $RDBASE/Docs/Notebooks for
example notebooks showing how to use this.
- Drawing of chemical reactions has been greatly improved and is now done using
the C++ rendering code.
- The MaxMinPicker is dramatically faster.
- New descriptors: the QED descriptor has been added as have a large collection
of new 3D descriptors and implementations of the USR and USRCAT fingerprints.
## New Features and Enhancements:
- Bring back USR and USRCAT descriptors
(github pull #1417 from greglandrum)
- Generate a warning for conflicting bond directions
(github issue #1423 from greglandrum)
- expose and test GetDrawCoords()
(github pull #1427 from greglandrum)
- Improvement suggestions for SaltRemover
(github issue #1431 from ribeaud)
- Remove obsolete scripts from Scripts dir
(github pull #1440 from greglandrum)
- Support drawing reactions from C++
(github pull #1444 from greglandrum)
- QED code with unit test file
(github pull #1445 from gedeck)
- Add support for other datatypes to ConvertToNumpyArray
(github issue #1447 from pyeguy)
- - updated FindCairo.cmake
(github pull #1455 from ptosco)
- - fixes PgSQL CMakeLists.txt to enable conda build on Windows
(github pull #1457 from ptosco)
- Some cleanups to make Travis builds faster
(github pull #1464 from greglandrum)
- ExplainPairScore does not support includeChirality=True
(github issue #1466 from xiaotaw)
- Add a collection of new 3D descriptors
(github pull #1467 from greglandrum)
- Update cartridge documentation to use ChEMBL 23
(github issue #1491 from greglandrum)
- First entry of the SubstructLibrary module
(github pull #1493 from bp-kelley)
- assorted fixes to get the current master branch to build on Windows
(github pull #1495 from ptosco)
- Support assignment of stereochemistry tags to bonds from 3D structure
(github issue #1497 from gncs)
- Support black and white molecule drawing
(github issue #1510 from greglandrum)
- Missing def_readwrite for backgroundColour in rdMolDraw2D.cpp
(github issue #1519 from goraj)
- Adds canonicalization of atom maps
(github pull #1521 from bp-kelley)
- Implement stereoisomer enumeration
(github pull #1531 from greglandrum)
- Add a MolBundle class
(github pull #1537 from greglandrum)
- Provide support for color palettes in MolDraw2D
(github pull #1546 from greglandrum)
- A few reaction drawing tweaks
(github pull #1549 from greglandrum)
- R group improvements
(github pull #1552 from greglandrum)
- Add a canned Atom query for heavy atom degree
(github issue #1563 from greglandrum)
- Adds FreeSASA adapter
(github pull #1565 from bp-kelley)
- Added C++ version of getBestRMS()
(github pull #1568 from psavery)
- SMILES lexer optimization/enhancement
(github pull #1575 from greglandrum)
- Update IPythonConsole and PandasTools to use new drawing code
(github pull #1577 from greglandrum)
- Squashes warnings on cygwin
(github pull #1578 from bp-kelley)
- Support continuous highlighting in drawMolecules().
(github pull #1579 from greglandrum)
- Enhanced Similarity Maps depiction
(github pull #1594 from gerebtzoff)
## Bug Fixes:
- RDKit gets stuck on PubChem CID 102128817
(github issue #1281 from TuomoKalliokoski)
- MMP code not including molecules with no cuts
(github issue #1406 from greglandrum)
- Fixes PandasTools to also work with pandas 0.20
(github pull #1410 from bp-kelley)
- csharp input files out of date
(github issue #1413 from greglandrum)
- Fix cxsmiles parse on VS2008
(github pull #1415 from mcs07)
- MaxMinPicker picking non-existent element
(github issue #1421 from greglandrum)
- _isCallable clashes with Celery
(github issue #1434 from momeara)
- Impossible to build the RDKit from source without Python installed
(github issue #1435 from greglandrum)
- RemoveHs() removes H atom attached to dummy if it came from AddHs()
(github issue #1439 from DrrDom)
- fix a couple failing windows tests related to temp file removal
(github pull #1446 from greglandrum)
- SanitizeRxn fails with a runtime exception when unused Rlabels are in product
(github issue #1448 from bp-kelley)
- String module conversion bug
(github pull #1452 from coleb)
- GetConformerRMS() documentation is misleading
(github pull #1459 from greglandrum)
- URANGE_CHECK not doing its job in RWMol::addBond
(github issue #1461 from baoilleach)
- ExplainPairScore does not support includeChirality=True
(github issue #1466 from xiaotaw)
- MolToSmarts does not include atom-map or isotope info for molecules built from SMILES
(github issue #1472 from greglandrum)
- AdjustQueryProperties() removing properties from dummy atoms
(github issue #1474 from greglandrum)
- Fixes lookup for HELM Monomer 'D'
(github pull #1477 from bp-kelley)
- Aromatic rings composed solely of dummy atoms should not be kekulized
(github issue #1478 from bp-kelley)
- Directly specify rotor model used in QED.
(github pull #1483 from bp-kelley)
- Unicode problem with pidPS tests on Mac
(github issue #1490 from greglandrum)
- Pattern fingerprint setting bad bits with degree zero atoms
(github issue #1496 from greglandrum)
- Remove xlocale header
(github pull #1501 from greglandrum)
- Fixes atom documentation
(github pull #1505 from bp-kelley)
- TypeError from PandasTools.SaveXlsxFromFrame
(github issue #1507 from pyeguy)
- Removes trailing spaces after \ to fix windows compilation errors
(github pull #1516 from bp-kelley)
- prepareMolForDrawing() not in SWIG wrappers
(github issue #1522 from greglandrum)
- Bond is missing IsInRing methods in Java wrapper
(github issue #1535 from sroughley)
- Fixes blanking of non-query atom data when QueryAtomData was being pi…
(github pull #1541 from bp-kelley)
- ChemicalReaction code not calling setNoImplicit() when H counts are set.
(github issue #1544 from greglandrum)
- Fixes failing build with MSVC
(github pull #1547 from ptosco)
- Kekulization error with cores from R-Group Decomposition
(github issue #1550 from greglandrum)
- Fixes double free for Dict::update
(github pull #1571 from bp-kelley)
- QueryAtom::setQuery() should delete the old query first
(github pull #1604 from greglandrum)
# Release_2017.03.1
(Changes relative to Release_2016.09.1)
## Important
- The fix for bug #879 changes the definition of the layered fingerprint.
This means that all database columns using layered fingerprints as well as
all substructure search indices should be rebuilt.
- All C++ library names now start with RDKit (see #1349).
## Acknowledgements:
Brian Cole, David Cosgrove, JW Feng, Berend Huisman, Peter Gedeck, 'i-tub',
Jan Holst Jensen, Brian Kelley, Rich Lewis, Brian Mack, Eloy Felix Manzanares,
Stephen Roughley, Roger Sayle, Nadine Schneider, Gregor Simm, Matt Swain,
Paolo Tosco, Riccardo Vianello, Hsiao Yi
## Highlights:
- It's now possible (though not the default) to pickle molecule properties
with the molecule
- There's a new, and still in development, "Getting started in C++" document.
- A lot of the Python code has been cleaned up
## New Features and Enhancements:
- Add removeHs option to MolFromSmiles()
(github issue #554 from greglandrum)
- support a fixed bond length in the MolDraw2D code
(github issue #565 from greglandrum)
- Pattern fingerprint should set bits for single-atom fragments.
(github issue #879 from greglandrum)
- Reviewed unit tests of rdkit.ML - coverage now 63.1%
(github pull #1148 from gedeck)
- Reviewed unit tests of rdkit.VLib - coverage now 67.1%
(github pull #1149 from gedeck)
- Removes exponetial numBonds behavior
(github pull #1154 from bp-kelley)
- Exposes normalize option to GetFlattenedFunctionalGroupHierarchy
(github pull #1165 from bp-kelley)
- Expose RWMol.ReplaceBond to Python
(github pull #1174 from coleb)
- Review of rdkit.Chem.Fraggle code
(github pull #1184 from gedeck)
- Add support for dative bonds.
(github pull #1190 from janholstjensen)
- Python 3 compatibility (issue #398)
(github pull #1192 from gedeck)
- 1194: Review assignments of range in Python code
(github pull #1195 from gedeck)
- Moved GenerateDepictionMatching[23]DStructure from Allchem.py to C++
(github pull #1197 from DavidACosgrove)
- Review rdkit.Chem.pharm#D modules
(github pull #1201 from gedeck)
- Find potential stereo bonds should return any
(github pull #1202 from coleb)
- Gedeck coverage sim div filters
(github pull #1208 from gedeck)
- Gedeck review unit test inchi
(github pull #1209 from gedeck)
- Coverage rdkit.Dbase
(github pull #1210 from gedeck)
- Coverage rdkit.DataStructs
(github pull #1211 from gedeck)
- UnitTestPandas works on Python3
(github pull #1213 from gedeck)
- Cleanup and improvement to test coverage of PandasTools
(github pull #1215 from gedeck)
- Cleanup of rdkit.Chem.Fingerprints
(github pull #1217 from gedeck)
- Optimization of UFF and MMFF forcefields
(github pull #1218 from ptosco)
- Support for ChemAxon Extended SMILES/SMARTS
(github issue #1226 from greglandrum)
- Improved test coverage for rdkit.Chem.Fingerprints
(github pull #1243 from gedeck)
- Adding a few tests for coverage utils
(github pull #1244 from gedeck)
- Make Pandastools modifications to generic RDkit functionality more obvious
(github pull #1245 from gedeck)
- Rename test file and cleanup
(github pull #1246 from gedeck)
- Review of rdkit.Chem.MolKey
(github pull #1247 from gedeck)
- Review tests in rdkit.Chem.SimpleEnum
(github pull #1248 from gedeck)
- Move execution of DocTests in rdkit.Chem into a UnitTest file
(github pull #1256 from gedeck)
- Review code in rdkit.Chem.Suppliers
(github pull #1258 from gedeck)
- Add python wraps
(github pull #1259 from eloyfelix)
- Rename file UnitTestDocTests in rdkitChem
(github pull #1263 from gedeck)
- Gedeck rdkit chem unit test surf
(github pull #1267 from gedeck)
- cleanup rdkit.Chem.Lipinski and rdkit.Chem.GraphDescriptors
(github pull #1268 from gedeck)
- Address Issue #1214
(github pull #1275 from gedeck)
- Dev/pickle properties
(github pull #1277 from bp-kelley)
- Remove unused test boilerplate
(github pull #1288 from gedeck)
- Refactored the script SDFToCSV
(github pull #1289 from gedeck)
- Dev/rdmmpa api update
(github pull #1291 from bp-kelley)
- Fix/rogers fixes
(github pull #1293 from bp-kelley)
- Remove expected (error) output during unit tests
(github pull #1298 from gedeck)
- Refactor FeatFinderCLI and add unittests
(github pull #1299 from gedeck)
- Refactor BuildFragmentCatalog - 1
(github pull #1300 from gedeck)
- Review of rdkit.Chem code - 1
(github pull #1301 from gedeck)
- Minor cleanup in rdkit.Chem
(github pull #1304 from gedeck)
- Start using py3Dmol in the notebook
(github pull #1308 from greglandrum)
- Add the option to match formal charges to FMCS
(github pull #1311 from greglandrum)
- Review of rdkit.Chem.Subshape
(github pull #1313 from gedeck)
- Review rdkit.Chem.UnitTestSuppliers
(github pull #1315 from gedeck)
- Add cis/trans tags to double bonds
(github pull #1316 from greglandrum)
- MolDraw2D: make custom atom labels easier
(github issue #1322 from greglandrum)
- MolDraw2D: allow DrawMolecules() to put all molecules in one pane
(github issue #1325 from greglandrum)
- Refactoring rdkit.Chem.SATIS
(github pull #1329 from gedeck)
- Minor cleanup of rdkit.Chem.SaltRemover
(github pull #1330 from gedeck)
- Review rdkit.chem.FunctionalGroups and rdkit.Chem.UnitTestSuppliers
(github pull #1331 from gedeck)
- Get the tests working with python 3.6
(github pull #1332 from greglandrum)
- add "RDKit" to the beginning of all library names
(github pull #1349 from greglandrum)
- Fix/sanitizerxn merge hs
(github pull #1367 from bp-kelley)
- Update AllChem.py
(github pull #1378 from BerendHuisman)
## New Java Wrapper Features:
## Bug Fixes:
- python2 code in python3 install
(github issue #1042 from kcamnairb)
- Fixes #1162 (resMolSupplierTest failing with boost 1.62)
(github pull #1166 from ptosco)
- add missing $RDKLIBS to cartridge build
(github pull #1167 from rvianello)
- Include <boost/cstdint.hpp> for uint64_t
(github pull #1168 from mcs07)
- replace std::map::at with std::map::find
(github pull #1169 from mcs07)
- Fix Trajectory GetSnapshot behaviour after Clear
(github pull #1172 from mcs07)
- Add Contrib dir to RDPaths
(github pull #1176 from mcs07)
- RDThreads.h: No such file or directory
(github issue #1177 from gncs)
- this now builds with vs2008
(github pull #1178 from greglandrum)
- Add information on building RDkit on macOS using conda
(github pull #1180 from gedeck)
- new sequence capabilities not available from either Python or Java
(github issue #1181 from greglandrum)
- Gets the reaction sanitization code working correctly on 32bit systems
(github pull #1187 from greglandrum)
- Adds RDProps to c# wrapper
(github pull #1188 from bp-kelley)
- fix compatibility with PostgreSQL 9.2
(github pull #1189 from greglandrum)
- Fixes memory leak in closeCheckMolFiles, fixes valgrind read issue in…
(github pull #1200 from bp-kelley)
- Support valences of 4 and 6 for Te
(github issue #1204 from hsiaoyi0504)
- Stereochemistry not output to SMILES when allHsExplicit=True
(github issue #1219 from greglandrum)
- Remove deprecated string module functions
(github pull #1223 from gedeck)
- Turns on -fpermissive for gcc >= 6 and boost < 1.62
(github pull #1225 from bp-kelley)
- all-atom RMSD used to prune conformers in embedding code, docs say heavy-atom RMSD is used
(github issue #1227 from greglandrum)
- FindPotentialStereoBonds() failure
(github issue #1230 from greglandrum)
- make the Pandas version checking more robust
(github pull #1239 from greglandrum)
- Failure to embed larger aromatic rings
(github issue #1240 from greglandrum)
- fixed build failure on Windows due to missing link to library
(github pull #1241 from ptosco)
- fixed a test failure on Windows due to CR+LF encoding
(github pull #1242 from ptosco)
- MolFromMolBlock sanitizing when it should not be
(github issue #1251 from greglandrum)
- PMI descriptors incorrect
(github issue #1262 from greglandrum)
- Reactions don't modify isotope unless chemical element is specified for the product
(github issue #1266 from i-tub)
- Do not include the 3D descriptors in rdkit.Chem.Descriptors.descList
(github issue #1287 from greglandrum)
- ring stereochemistry perception failing for spiro centers
(github issue #1294 from greglandrum)
- Property pickling test failing on windows
(github issue #1348 from greglandrum)
- Fixes overflow error in boost when compiler chooses int for enum type
(github pull #1351 from bp-kelley)
- Hybridization type of group 1 metals
(github issue #1352 from richlewis42)
- bad python docs for some distance geometry functions
(github issue #1385 from greglandrum)
- Bond from reactant not added to product
(github issue #1387 from greglandrum)
- int32_t with no namespace in MolPickler.h
(github issue #1388 from greglandrum)
## Contrib updates:
- Chemical reaction role assignment code from Nadine Schneider
(github pull #1185 from NadineSchneider)
## Deprecated code (to be removed in a future release):
- rdkit.Chem.MCS: please use rdkit.Chem.rdFMCS instead
# Release_2016.09.1
(Changes relative to Release_2016.03.1)
## Important
- The adjustQueryParameters structure has been rewritten. If you were using
this in your code, you'll need to update your code.
## Acknowledgements:
Brian Cole, Piotr Dabrowski, Jan Domanski, Peter Gedeck, Richard Hall, Brian
Kelley, Joos Kiener, 'maddogcz', John Mayfield, 'michalsta', Michal Nowotka,
'philopon', Nico Pulver, Sereina Riniker, Stephen Roughley, Roger Sayle, Nadine
Schneider, Gianluca Sforna, Peter Shenkin, Paolo Tosco, David Turbert, Riccardo
Vianello, Maciek Wojcikowski
## Highlights:
- New AdjustQueryProperties() (adjustQueryProperties() in C++) for fine-tuning substructure queries.
- ReactionEnum functionality adds significant new capabilities for doing library enumeration
- Similarity searches with the PostgreSQL cartridge are substantially faster
- New 3D descriptors (requires Eigen3 if you are building them yourself)
## New Features and Enhancements:
- Trajectory/Snapshot objects
(github pull #863 from ptosco)
- Adds Avalon fingerprints to default set
(github pull #871 from bp-kelley)
- Adds the default index to the building block templates
(github pull #873 from bp-kelley)
- Pandas: Allow reading just the properties from SDF file
(github pull #883 from mwojcikowski)
- Dev/filtercatalog functional groups
(github pull #885 from bp-kelley)
- Dev/preprocessrxn cpp
(github pull #892 from bp-kelley)
- Rollup of warning squashing (with some tests diagnostics thrown in)
(github pull #895 from bp-kelley)
- Adds RDAny (smaller generic holder) Updates all used dictionaries
(github pull #896 from bp-kelley)
- expose FPS functions to SWIG
(github pull #897 from greglandrum)
- Add SaveFile method to the PyMol wrapper
(github pull #898 from greglandrum)
- Add a MultiFPBReader class
(github pull #909 from greglandrum)
- Improved Python doc strings for Trajectory/Snapshot objects
(github pull #912 from ptosco)
- Added support for building the gzip'd stream test
(github pull #914 from ptosco)
- Improved Trajectory Python doc strings
(github pull #915 from ptosco)
- improve error reporting for kekulization failures
(github pull #919 from greglandrum)
- Feat/github934
(github pull #939 from greglandrum)
- Add support for a simplified aromaticity model.
(github pull #942 from greglandrum)
- Dev/moldescriptors callables
(github pull #944 from bp-kelley)
- Dev/cleanup warnings
(github pull #948 from greglandrum)
- Modifications to enable building with MinGW compilers
(github pull #960 from ptosco)
- Made DistGeomHelpers test robust against small 3D coordinate variations
(github pull #961 from ptosco)
- Adds aromatization and reaction options to AdjustQuery
(github pull #965 from bp-kelley)
- Improved planarity for ETKDG
(github pull #967 from sriniker)
- Fixes built-in popcount in PgSQL cartridge on Windows
(github pull #978 from ptosco)
- A variety of drawing-related changes
(github pull #986 from greglandrum)
- Get pango 2D depiction to work with cairocffi
(github pull #998 from ptosco)
- Adds Atom atom map and rlabel apis
(github pull #1004 from bp-kelley)
- Dev/chemtransforms chirality
(github pull #1006 from bp-kelley)
- Added the option to label deuterium and tritium as D and T
(github pull #1011 from ptosco)
- Adds replaceCore function that takes a matchVect
(github pull #1013 from bp-kelley)
- Add an initial version of wavy bonds
(github pull #1014 from greglandrum)
- remove a compiler warning
(github pull #1019 from greglandrum)
- Make the Contrib directory available in RDConfig
(github pull #1024 from NadineSchneider)
- Adds some additional canned atom and bond query definitions
(github pull #1047 from greglandrum)
- Draw crossed bonds
(github pull #1052 from greglandrum)
- Alex/struct checker apr15
(github pull #1054 from bp-kelley)
- MolDraw2D: allow the amount of padding around atom labels to be adjusted.
(github issue #1056 from greglandrum)
- Add multiple molecule drawing to the C++ interface
(github pull #1059 from greglandrum)
- add pickle support to FilterCatalog
(github pull #1063 from greglandrum)
- Issue #1066: Improved .gitignore file
(github pull #1068 from gedeck)
- Cleanup of Scaffolds Python code
(github pull #1069 from gedeck)
- Consistent formatting of Python code
(github issue #1071 from gedeck)
- Improved test coverage of Python code
(github pull #1081 from gedeck)
- Improved test coverage of rdkit.DataStructs
(github pull #1083 from gedeck)
- Add some 3D molecular descriptors (requires Eigen3)
(github pull #1084 from greglandrum)
- Conformer GetPos returns a numpy array rather than a tuple of tuples
(github pull #1087 from jandom)
- make the 3D descriptors available in the Descriptors module
(github pull #1097 from greglandrum)
- Documentation update.
(github pull #1100 from greglandrum)
- Provide SVG output from the cartridge
(github pull #1109 from greglandrum)
- Allow the output of ROMol::debugMol() to show up in jupyter
(github pull #1110 from greglandrum)
- Dev/reaction enumeration
(github pull #1111 from bp-kelley)
- yapf formatting of recent changes to Python code in rdkit and Code
(github pull #1120 from gedeck)
- Add a parameters structure for controlling the embedding options.
(github pull #1121 from greglandrum)
- add more detailed error reporting when python tests fail in TestRunner.py
(github pull #1122 from greglandrum)
- add support for a default constructor to the python-exposed RWMol class
(github pull #1129 from greglandrum)
- The RunStruchk function is not exposed in pyAvalonTools
(github issue #1130 from pulveni1)
- SSSR performance improvements to support larger systems
(github pull #1131 from coleb)
- Script PythonFormat.py will test the RDkit python code for conformance with the agreed format using yapf
(github pull #1133 from gedeck)
- support additional trans-uranic elements
(github pull #1134 from greglandrum)
- Expanded sequence support
(github pull #1140 from greglandrum)
- add UGM link to documentation
(github pull #1142 from David-Turbert)
- Remove iPythonConsole configuration for normal Draw tests
(github pull #1146 from gedeck)
- Wrap DetectBondStereoChemistry in python
(github pull #1156 from coleb)
## New Database Cartridge Features:
- Provide SVG output from the cartridge
(github pull #1109 from greglandrum)
- Add cartridge support for adjustQueryProperties()
(github pull #949 from greglandrum)
- refactoring of the postgresql cartridge
(github pull #992 from rvianello)
## New Java Wrapper Features:
- Expose filtermatch to swig
(github pull #1117 from bp-kelley)
- adjustQueryProperties()
- Java wrappers for Trajectory/Snapshot objects
(github pull #977 from ptosco)
- Added getAlignmentTransform to ROMol.i to expose in Java SWIG wrapper
(github pull #1155 from sroughley)
## Bug Fixes:
- initialization of the PeriodicTable object should be made thread-safe
(github issue #381 from greglandrum)
- AssignAtomChiralTagsFromStructure() not recognizing chiral S
(github issue #607 from greglandrum)
- Fixed a few typos in Code/PgSQL/rdkit/CMakeLists.txt
(github pull #867 from ptosco)
- MergeQueryHs explicit H warning when no explicit Hs were actually used
(github issue #868 from bp-kelley)
- Fixes regression in python api CalcNumRotatableBonds
(github pull #870 from bp-kelley)
- Single atoms setting radius 1 bits in Morgan fingerprints
(github issue #874 from greglandrum)
- Providing subImgSize argument to MolsToGridImage() causes drawing failure
(github issue #876 from greglandrum)
- javadoc failure on CentOS 7
(github pull #878 from ptosco)
- adjust cartridge tests after the fix for #874
(github pull #884 from greglandrum)
- bugreport: invalid handling of negation of aromaticity when parsing SMARTS
(github issue #893 from michalsta)
- Fixes depictor problem with empty fragments
(github pull #894 from greglandrum)
- Fix building with G++ on Mac OS X
(github pull #900 from johnmay)
- linked additional libs to fix a build failure on Windows
(github pull #901 from ptosco)
- Rdkit 2016_03_1 generate SVG typo in Python bindings
(github issue #903 from maddogcz)
- PAINS filters update fails when old Python is installed
(github issue #904 from greglandrum)
- rdMolDraw2D.PrepareMolForDrawing() should not default to forceCoords=True
(github issue #906 from greglandrum)
- AddHs() using 3D coordinates with 2D conformations
(github issue #908 from greglandrum)
- ugly coordinates generated for peptide chains
(github issue #910 from greglandrum)
- Cartridge: makefile not using -O2 for C code.
(github issue #920 from greglandrum)
- Removes incorrect setting of hasNonPodData
(github pull #923 from bp-kelley)
- cleanups of RDLog's tee behavior
(github pull #926 from greglandrum)
- initialize boost::once_flag properly
(github pull #927 from greglandrum)
- sys not imported in IPythonConsole.py
(github issue #928 from greglandrum)
- AddTee is now SetTee
(github pull #930 from bp-kelley)
- mistake in SVG generated for wedged bonds
(github issue #932 from greglandrum)
- PandasTools AttributeError with pandas-0.18.1
(github issue #933 from philopon)
- Jupyter Notebooks: Issue with PyMol.MolViewer on Windows
(github issue #936 from kienerj)
- Subshape module: Not Python 3 compatible
(github issue #937 from kienerj)
- property dictionaries leaking memory
(github issue #940 from greglandrum)
- Bug when removing stereo info?
(github pull #946 from mnowotka)
- Distorted aromatic rings from ETKDG
(github issue #952 from greglandrum)
- MolDraw2D: default color should not be cyan
(github issue #953 from greglandrum)
- GetPropNames() no longer working on Atoms or Bonds
(github issue #955 from greglandrum)
- Kekulization issues post successful smiles parsing
(github issue #962 from bp-kelley)
- Fixes includes for older boost/gcc
(github pull #966 from bp-kelley)
- ugly conformations can be generated for highly constrained ring systems
(github issue #971 from greglandrum)
- Cleanup bad conformations
(github pull #973 from greglandrum)
- Unnecessary warnings in rxn.validate()
(github issue #975 from greglandrum)
- Minor fix to Code/GraphMol/Wrap/testTrajectory.py
(github pull #979 from ptosco)
- prepareMolForDrawing(): Do not add Hs to some three-coordinate Cs
(github issue #982 from greglandrum)
- MolDraw2D: wedged bonds between chiral centers drawn improperly
(github issue #983 from greglandrum)
- Fix format-security GCC warning
(github pull #984 from giallu)
- MolDraw2D scaling problems
(github issue #985 from greglandrum)
- RIght-justified elements in RCSB SDF files can now be parsed
(github pull #994 from ptosco)
- Right-justified elements in RCSB SDF files raise an exception
(github issue #995 from ptosco)
- ChemReactions: Bugfix in copy constructor
(github pull #996 from NadineSchneider)
- PgSQL README typos
(github pull #997 from ptosco)
- Fixes rounding errors in test
(github pull #1001 from bp-kelley)
- Fixes middle-justified symbols in sd files, adds M_CHG tests
(github pull #1002 from bp-kelley)
- fix compatibility issues with postgres < 9.5 (#1000)
(github pull #1005 from rvianello)
- Fixes MMFF94 aromaticity perception and ChemicalForceFields.MMFFHasAllMoleculeParams()
(github pull #1007 from ptosco)
- fixes typo which breaks the PostgreSQL cartridge build on Windows
(github pull #1008 from ptosco)
- Fix Inchi being hardcoded into PostgreSQL
(github pull #1009 from ptosco)
- Support ETKDG from within the SWIG wrappers
(github pull #1010 from greglandrum)
- move definition of computedPropName to namespace RDKit::detail
(github issue #1017 from greglandrum)
- fix non-inchi build
(github pull #1018 from greglandrum)
- Fixes #1018
(github pull #1020 from ptosco)
- GetSSSR interrupts by segmentation fault
(github issue #1023 from PiotrDabr)
- FMCS fix for Windows DLLs
(github pull #1030 from ptosco)
- Cause ImportError from failed dlopen of the rdBase.so shared library to propagate.
(github pull #1032 from coleb)
- typos in MMPA hash code
(github issue #1044 from greglandrum)
- MolOps::cleanUp() being called by CTAB parser even when sanitization isn't on
(github issue #1049 from greglandrum)
- Bond::BondDir::EITHERDOUBLE not exposed to python
(github issue #1051 from greglandrum)
- add python3 compatibility
(github pull #1057 from greglandrum)
- doc updates from Dave Cosgrove
(github pull #1060 from greglandrum)
- Fix leak with renumberAtoms() in the SWIG wrappers
(github pull #1064 from greglandrum)
- Timings on Windows with Python 3
(github pull #1067 from ptosco)
- computeInitialCoords() should call the SSSR code before it calls assignStereochemistry()
(github issue #1073 from greglandrum)
- Remove duplicates doesn't work on first column in rdkit.Dbase.DbUtils.GetData
(github issue #1082 from gedeck)
- clear up a bunch of windows warnings
(github pull #1086 from greglandrum)
- MolsToGridImage barfs on '&' in labels, at least with useSVG=True
(github issue #1090 from shenkin)
- Fixes csharp build for 64 bit systems
(github pull #1098 from bp-kelley)
- Cartridge: some C++ functions returning pointers to local storage
(github issue #1106 from greglandrum)
- Check for doubles after other integer types when reporting properties
(github pull #1115 from bp-kelley)
- Replace has_key use in Python (#issue1042)
(github pull #1132 from gedeck)
- fix moldraw2d headers installation path
(github pull #1143 from giallu)
- Remove iPythonConsole configuration for normal Draw tests
(github pull #1146 from gedeck)
- Adds SWIGWIN definition in WIN32 if not 32bit
(github pull #1158 from bp-kelley)
- Fix/java win64 memoryleak
(github pull #1159 from bp-kelley)
## Deprecated code (to be removed in a future release):
- rdkit.VLib python module
- SanitizeRxn parameters "ChemDrawRxnAdjustParams" has been renamed to
"MatchOnlyAtRgroupsAdjustParams". These settings did not reflect
how integrations with SciQuest or the Perkin Elmer ELN behaved and
were confusing to users (especially since they were not explicit)
## Removed code:
## Contrib updates:
- added an implementation of the Gobbi Atom-Atom-Path (AAP) similarity
(github pull #1015 from Richard-Hall)
## Other:
# Release_2016.03.1
(Changes relative to Release_2015.09.2)
## Important
In order to build the RDKit, it is now necessary to have at least v1.7 of numpy installed.
## Acknowledgements:
Note: The RDKit has the wonderful "problem" that there are a lot of
contributors and it's tough for me to capture them all to put together release
notes. I don't even know many of the contributors (which is *awesome!*)
The names here come largely from what I pull in an automated way from github.
In cases where there's no real name listed in github, I either guessed
or used just the github alias in quotes. If I got it wrong, please let me know!
Josep Arus, Nik Bates-Haus, Andrew Dalke, 'DoliathGavid', 'elcaceres', Peter
Gedeck, James Jeffryes, Brian Kelley, Juuso Lehtivarjo, Rich Lewis, Daniel Lowe,
'maddogcz', Kozo Nishida, Michal Nowotka, Axel Pahl, Steven Roughley, Alexander
Savelyev, Nadine Schneider, Gianluca Sforna, Teague Sterling, Nik Stiefl, Matt
Swain, Eric Ting, Paolo Tosco, Samo Turk, Riccardo Vianello
## Highlights:
- Improvements to the build system: it's now much easier to build with InChI
and/or Avalon support since cmake now knows how to fetch the appropriate
source code for you. Building the PostgreSQL cartridge is now integrated into
normal build process.
- Some improvements to molecule rendering and Jupyter notebook integration: The
new `Draw.PrepareMolForDrawing()` function takes care of standard tasks like
wedging bonds, kekulization, and adding chiral Hs. `Draw.MolsToGridImage()`
can generate SVGs and uses the new molecular drawing code for PNGs when
possible. The Jupyter notebook integration uses the new drawing code when
possible.
- Error and warning messages from the C++ core can now be displayed in the
Jupyter notebook
## Bug Fixes:
- Sanitizer rejects higher valency halides
(github issue #115 from dan2097)
- Bad E/Z assignment from ctab
(github issue #188 from greglandrum)
- bad E/Z assignment from ctab
(github issue #192 from greglandrum)
- Documentation is still python2 specific.
(github issue #374 from greglandrum)
- SVG export - Python 3 support
(github issue #398 from maddogcz)
- FragmentOnBonds() producing incorrect chirality
(github issue #511 from greglandrum)
- Rings containing all dummy atoms with single bonds are flagged as aromatic
(github issue #518 from greglandrum)
- IPython integration broken with latest Jupyter
(github issue #666 from samoturk)
- Added missing include/forward declarations
(github pull #668 from ptosco)
- Fixes a memory leak in fragmentMol
(github pull #669 from bp-kelley)
- resetVect option being ignored by reaccsToFingerprint()
(github issue #671 from greglandrum)
- failure in AddHs when addCoords is true and coords are all zero
(github issue #678 from greglandrum)
- 404 error for the link to Installation instructions
(github issue #679 from EricTing)
- Fix java8 build
(github pull #681 from greglandrum)
- Smiles containing "[as]" do not parse.
(github issue #682 from greglandrum)
- SMARTS reaction triggers invariant violation on chiral compounds
(github issue #685 from JamesJeffryes)
- partially specified chiral substructure queries don't work properly
(github issue #688 from bp-kelley)
- ExactMolWt ignoring the mass of the electron
(github issue #694 from greglandrum)
- Bad 1-4 bounds matrix elements in highly constrained system
(github issue #696 from greglandrum)
- More ChEMBL molecules that fail bounds smoothing
(github issue #697 from greglandrum)
- Molecule serialization doesn't read/write atomic numbers above 128
(github issue #713 from greglandrum)
- AddHs cip rank is declared <int> should be unsigned int?
(github issue #717 from bp-kelley)
- ensure line endings are handled consistently for all users
(github pull #729 from rvianello)
- Fixes return type of operator[] (fails on later clangs)
(github pull #733 from bp-kelley)
- Fix/thread safe localeswitcher line endings
(github pull #743 from bp-kelley)
- Fixes Boost 1.46 issues with type traits
(github pull #748 from bp-kelley)
- PR #749 causes seg faults on windows
(github issue #750 from greglandrum)
- Fixes notebook problems with newer jupyter installs
(github pull #753 from bp-kelley)
- Double bond geometry loss on calling removeHs
(github issue #754 from sroughley)
- Bug fix to getShortestPath
(github pull #757 from JLVarjo)
- reversed stereochemistry with sulfoxides and ring closures
(github issue #760 from greglandrum)
- libRDBoost.so.1: undefined symbol
(github issue #762 from kozo2)
- Removed -Xdoclint:none flag when packing org.RDKitDoc.jar
(github pull #763 from undeadpixel)
- AnyBond specification treated as single when joining rings in SMARTS
(github issue #766 from teaguesterling)
- CanonicalRankAtomsInFragment() leaks when called from Python
(github issue #769 from greglandrum)
- MolCanvas2D drawing upside down
(github issue #774 from greglandrum)
- Drawing single-atom molecules hangs.
(github issue #781 from greglandrum)
- chiral lexical order for ring closure after branch
(github issue #786 from adalke)
- surface -> self.surface
(github pull #787 from mnowotka)
- Chem.MolToSmarts param misnomer
(github issue #792 from elcaceres)
- Fixes MolToSmarts python docs
(github pull #793 from bp-kelley)
- npscorer.py: Py3 compat and importable from other locations
(github #801 from apahl)
- Pre-condition Violation: bad bond type
(github issue #805 from nbateshaus)
- rooted atom fingerprint non identical for the same molecules
(github issue #811 from nisti74)
- test60RunSingleReactant() not being run
(github issue #825 from greglandrum)
- PostgreSQL bug fixes
(github pull #835 from ptosco)
- Crash while running testGithub497() on Windows
(github pull #842 from ptosco)
- Return value of NumRadicalElectrons and NumValenceElectrons should be integer
(github issue #846 from gedeck)
- Fixed a bug in getUFFAngleBendParams()
(github pull #850 from ptosco)
- Lines used to wedge bonds are too thick
(github issue #852 from greglandrum)
- Fix out of range dereference in MCS code.
(github pull #857 from DoliathGavid)
- Atom symbols in wrong order if bond comes from right
(github issue #860 from greglandrum)
## New Features and Enhancements:
- switch to using new version of avalon toolkit
(github issue #382 from greglandrum)
- MolDraw2D: Expand basic drawing api
(github issue #417 from greglandrum)
- MolDraw2D: add options
(github issue #424 from greglandrum)
- fixed FutureWarning in PeriodicTable.py
(github pull #665 from richlewis42)
- first pass, using google style
(github pull #672 from greglandrum)
- Use sets instead of and map. Minor comments cleanup.
(github pull #675 from DoliathGavid)
- Dev/squash msvc14 warnings
(github pull #684 from bp-kelley)
- Fix/stop unnecessary filtercatalog updates
(github pull #690 from bp-kelley)
- Add RDK_USE_BOOST_SERIALIZATION configure option (On by default)
(github pull #691 from bp-kelley)
- Minor optimizations of the force field minimization code, fix for issue 696
(github pull #693 from greglandrum)
- Include cis/trans stereochemistry when useChirality=true with the morgan fingerprints
(github issue #695 from greglandrum)
- Fixed a couple of compilation warnings in Resonance.cpp/Resonance.h
(github pull #701 from ptosco)
- Dev/run single reactant
(github pull #705 from bp-kelley)
- Updates CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR
(github pull #707 from bp-kelley)
- Make LocaleSwitcher threadsafe
(github issue #710 from greglandrum)
- Exposes Get/Set Double, Int, Uint and bool props to molecules
(github pull #711 from bp-kelley)
- Speed up molblock generation
(github pull #712 from greglandrum)
- Expose generateOneProductSet?
(github issue #721 from DoliathGavid)
- Add a reader for FPB files (still experimental)
(github pull #724 from greglandrum)
- replace std::map::at with std::map::operator[]
(github pull #730 from rvianello)
- Fix/get double prop get props asdict
(github pull #734 from bp-kelley)
- Add support for Tversky similarity to the FPB reader
(github pull #735 from greglandrum)
- Fix ConformerParser to use const std::string &
(github pull #737 from mcs07)
- Fix/expose invariant exception
(github pull #740 from bp-kelley)
- Support CTABs where the second letter in atom symbols is capitalized
(github issue #741 from greglandrum)
- Adds support for capturing RDLogs in Python StdErr streams
(github pull #749 from bp-kelley)
- Allow adding Hs only to atoms matching a query operator
(github issue #758 from greglandrum)
- Add argument to addHs allowing only certain Hs to be considered
(github pull #759 from greglandrum)
- avoid the multiple definition of rdkitVersion/boostVersion
(github pull #761 from rvianello)
- cleanup possible pythonObjectToVect leaks in python wrappers
(github issue #764 from greglandrum)
- Stop possible core leaks in pythonObjectToVect()
(github pull #770 from greglandrum)
- Add C++ function to prepare mol for rendering
(github issue #771 from greglandrum)
- Prefer wedging bonds to Hs
(github issue #772 from greglandrum)
- Add prepareMolForDrawing() function to C++
(github pull #775 from greglandrum)
- Support blanks in MolsToGridImage()
(github issue #776 from greglandrum)
- A number of small additions and features to the drawing code
(github pull #802 from greglandrum)
- Support larger isotope deltas in the chirality assignment
(github issue #803 from greglandrum)
- Adds option RDK_USE_COMPLEX_ROTOR_DEFINITION
(github pull #810 from bp-kelley)
- add Draw.MolsToSVGGrid()
(github pull #817 from greglandrum)
- make Hs black instead of gray
(github pull #819 from greglandrum)
- Fix alignMols so that it takes into account of QueryAtoms and QueryBonds
(github pull #821 from DoliathGavid)
- feat/github831: Add getText() static method.
(github pull #832 from greglandrum)
- Add an unfolded count-based version of the RDKFingerprint
(github pull #838 from NadineSchneider)
- Add some utils functions to ChemReactions
(github pull #840 from NadineSchneider)
- Autodetect boost c++ library and compile with matching one
(github pull #845 from bp-kelley)
- Add automatic downloads of junit.jar
(github pull #859 from greglandrum)
## New Database Cartridge Features:
- support providing InChI (or InChI key) generation options in cartridge
(github pull #755 from greglandrum)
- building the cartridge is now integrated with the cmake build system
(github pull #785 from ptosco)
## New Java Wrapper Features:
- Add a bit more control over the lazy MaxMin picker to the java layer
(github pull #791 from greglandrum)
- Ensure reduceProductToSideChains exposed in Java/Swig
(github issue #744 from bp-kelley)
## Deprecated code (to be removed in next release):
## Removed code:
## Contrib updates:
## Other:
# Release_2015.09.2
(Changes relative to Release_2015.09.1)
## Acknowledgements:
Brian Kelley, Paolo Tosco, Riccardo Vianello
## Bug Fixes:
- Fixed a post-decrement which causes a crash when compiling under Windows with MSVC 9
(from ptosco)
- Fixes a memory leak in fragmentMol
(github #669 from bp-kelley)
- MMPA compile error with Microsoft Visual C++ Compiler for Python 2.7
(github #655 from rvianello)
# Release_2015.09.1
(Changes relative to Release_2015.03.1)
## Acknowledgements:
Pierre Bhoorasingh, Gungor Budak, Andrew Dalke, JP Ebejer, Peter Ertl,
Jan Holst Jensen, Brian Kelley, Joos Kiener, Noel O'Boyle, Axel Pahl,
Sereina Riniker, Alexander Savelyev, Roger Sayle, Nadine Schneider,
Andrew Stretton, Paolo Tosco, Samo Turk, JL Varjo, Riccardo Vanello,
Maciek Wojcikowski
## Highlights:
- Addition of parsers/writers for sequence notation, FASTA, and basic HELM
- Improved conformation generation based on experimental torsional parameters
- Much better filtering of generated conformations to ensure they
match the chirality of the input structure
- New method for enumerating molecular resonance structures
- Addition of a molecular FilterCatalog data structure
## Bug Fixes:
- Draw.MolToImage(mol) does not work for Python 3, because cairo for Python 3 has not yet implemented Surface.create_for_data
(github issue #460 from apahl)
- SDWriter.close() fails when the underlying stream has an error
(github issue #498 from greglandrum)
- Hexafluorophosphate cannot be handled
(github issue #510 from greglandrum)
- Labels of highlighted atoms are invisible
(github issue #519 from NadineSchneider)
- MolDraw2D: Fix in highlighting atoms
(github pull #521 from NadineSchneider)
- Cartridge: index failing for molecular equality in some circumstances
(github issue #525 from greglandrum)
- Bad ring finding in a complex fused ring
(github issue #526 from greglandrum)
- Fixed crash upon closing a gzip/bzip2 stream opened in binary mode for use with SDWriter under Python3
(github pull #531 from ptosco)
- Regression: _smilesAtomOutputOrder incorrect for dot disconnected molecules
(github issue #532 from baoilleach)
- Fix #532 - smilesAtomOutputOrder incorrect
(github pull #535 from baoilleach)
- Fix Python3 encoding for FilterCatalog/Entry serialization
(github pull #537 from bp-kelley)
- Catalog::setCatalogParams needs to be virtual now
(github pull #538 from bp-kelley)
- Bonds in allyl cation are not conjugated
(github issue #539 from greglandrum)
- Fixes GitHub issue 539
(github pull #540 from ptosco)
- SaltBuilder._initPatterns incorrectly handles SMARTS errors
(github issue #541 from adalke)
- merging query Hs failing on recursive SMARTS
(github issue #544 from greglandrum)
- Crash in O3A alignment when running multi-threaded
(github issue #546 from greglandrum)
- PyMol.py: changed xmlrpc import to have Python2/Python3 compatibility
(github pull #547 from apahl)
- fix MMPA bugs for some tests
(github pull #548 from AlexanderSavelyev)
- TFD fix for single bonds adjacent to triple bonds
(github pull #550 from sriniker)
- Canonicalization paper Aug2015
(github pull #552 from NadineSchneider)
- Chirality not affected by atom-map index
(github issue #553 from adalke)
- Implicit Hs should not appear in depictions for query atoms.
(github issue #556 from greglandrum)
- Fix issue with invalid reactions throwing NameError
(github pull #559 from bp-kelley)
- InChI radicals not properly converted
(github issue #562 from pierrelb)
- MMPA code not python3 compatible
(github issue #564 from greglandrum)
- mmpa: fix bug with num_of_cuts > 2 case
(github pull #566 from AlexanderSavelyev)
- Incorrect stereochemistry after embedding
(github issue #568 from greglandrum)
- changed FrameToGridImage() so that the dataframe index can be used as legend
(github pull #570 from apahl)
- MolDraw2DCairo.GetDrawingText() doesn't work with Python3
(github issue #571 from greglandrum)
- addBond return value
(github issue #572 from JLVarjo)
- Process aborts during ForwardSDMolSupplier gc when the file object is closed
(github issue #579 from adalke)
- Fix/update pains filter catalog
(github pull #581 from bp-kelley)
- Importing PandasTools on Windows fails due to Salts.txt
(github issue #583 from baoilleach)
- renumberAtoms() not setting conformer dimensionality properly
(github issue #584 from greglandrum)
- stereo atoms property on double bonds not being updated properly with insertMol
(github issue #608 from greglandrum)
- UFF Atom type not properly assigned to lanthanides
(github issue #613 from greglandrum)
- segfault from MolToInchi when bad bond stereochem info is present
(github issue #614 from greglandrum)
- MQN12 (heavy atom count) seems to be always 0.
(github issue #623 from kienerj)
- fmcs: fix issue with initial seed for PR 580
(github pull #624 from AlexanderSavelyev)
- fmcs: fixes #631 with chiralirty
(github pull #634 from AlexanderSavelyev)
- Fixes sprintf not found on some gcc compiles
(github pull #635 from bp-kelley)
- Fix AppVeyor and Travis UnitTests
(github pull #636 from bp-kelley)
- Fixes #629 - python GetSubstructureMatch thread safety
(github pull #637 from bp-kelley)
- Fix regressions occurring when building with msvc9
(github pull #638 from rvianello)
- Fix/python gil release on rdkit threadsafe sss only
(github pull #639 from bp-kelley)
- ctest not running some of the python tests.
(github issue #643 from greglandrum)
- Issue643
(github pull #646 from greglandrum)
- Fix/various bug fixes filtercatalog and bad operator
(github pull #648 from bp-kelley)
- unlocking or destroying a locked mutex in the substructure matcher
(github issue #653 from greglandrum)
- MMPA compile error with Microsoft Visual C++ Compiler for Python 2.7
(github issue #655 from rvianello)
- new canon: fix in special symmetry invariant
(github pull #663 from NadineSchneider)
## New Features and Enhancements:
- enable popcount by default for cartridge
(github issue #428 from greglandrum)
- Added the RSMD calculation over N molecules in the cookbook.
(github pull #495 from malteseunderdog)
- Modified force field constraint tests to be more robust
(github pull #503 from ptosco)
- Fix mol drawing on Python3 (issue #460)
(github pull #504 from apahl)
- mmpa first version was added
(github pull #505 from AlexanderSavelyev)
- Forcefield tests now use RDKit::feq() instead of RDKit::round()
(github pull #506 from ptosco)
- SDMolSupplier(), setData() and strictParsing
(github pull #507 from ptosco)
- Improvements to LoadSDF and WriteSDF
(github pull #513 from samoturk)
- updates to mmpa. reduce number of smiles parsing
(github pull #515 from AlexanderSavelyev)
- Some enhancements for the new canonicalization
(github pull #520 from NadineSchneider)
- mmpa: remove boost_regex dependency at all. Add new test references
(github pull #527 from AlexanderSavelyev)
- Support getting atoms involved in Pharm2D bits
(github issue #530 from greglandrum)
- Optimized MMFF::MMFFOptimizeMoleculeConfs()
(github pull #534 from ptosco)
- RDKit learns how to filter PAINS/BRENK/ZINC/NIH via FilterCatalog
(github pull #536 from bp-kelley)
- Expose Conformer's copy constructor to Python
(github issue #545 from greglandrum)
- PyMol.py: changed xmlrpc import to have Python2/Python3 compatibility
(github pull #547 from apahl)
- Update PAINS smarts to validated set. Always use mergeQueryHs when reading Smarts
(github pull #549 from bp-kelley)
- Add a curated set of PAINS filters to the RDKit
(github issue #555 from greglandrum)
- Update pains from wehi_pains.csv
(github pull #560 from bp-kelley)
- Change MMPA to use CanonicalRankAtoms instead of _CIPRank
(github issue #561 from adalke)
- Add adjustQuery() function to make substructure queries more specific.
(github issue #567 from greglandrum)
- changed sascorer.py to enable import from different location
(github pull #569 from apahl)
- add export_values() to enums in the python wrapper where it's sensible to do so
(github issue #573 from greglandrum)
- Support Sheridan's BT and BP fingerprints
(github issue #574 from greglandrum)
- Locale dependent float for _GasteigerCharge
(github issue #577 from adalke)
- fmcs: implement adding an initial seed structure
(github pull #580 from AlexanderSavelyev)
- Where possible convert docs from RST to MD
(github issue #585 from greglandrum)
- [UGM2015] Autodetection of numThreads
(github issue #586 from mwojcikowski)
- Generating SVG Images with Transparent Background
(github issue #587 from gungorbudak)
- updates to PandasTools.LoadSDF
(github pull #599 from adalke)
- Can control mol depiction size with PandasTools.molSize = (200,200).
(github pull #600 from samoturk)
- pandas performance and functionality improvements
(github pull #601 from adalke)
- Adding documentation for installation with conda.
(github pull #602 from strets123)
- Automatic atom reordering in TorsionFingerprints
(github pull #603 from sriniker)
- remove bare excepts
(github pull #606 from adalke)
- Added option to use SVG rendering in pandas data frames
(github pull #609 from samoturk)
- Handle inserting molecules with conformers into molecules without conformers
(github issue #610 from greglandrum)
- If wedged bonds are already present, write them to mol blocks
(github issue #611 from greglandrum)
- Dev/filter catalog java wrapper
(github pull #612 from bp-kelley)
- Support extended reduced graphs
(github issue #615 from greglandrum)
- port NumSpiroCenters and NumBridgeheadAtoms descriptors to C++
(github issue #617 from greglandrum)
- Add parser/writer for peptide sequences
(github issue #620 from greglandrum)
- Add parser/writer for FASTA
(github issue #621 from greglandrum)
- Add parser/writer for HELM
(github issue #622 from greglandrum)
- Migrate std::string APIs to const std::string &
(github pull #627 from bp-kelley)
- Chirality tests
(github pull #628 from sriniker)
- Improvements of TFD
(github pull #630 from sriniker)
- Added ResonanceMolSupplier
(github pull #632 from ptosco)
- Image tostring/fromstring methods replaced by tobytes/frombytes
(github pull #644 from rvianello)
- ET(K)DG implementation
(github pull #647 from sriniker)
- Build multithreading support by default when boost::threads is present
(github issue #649 from greglandrum)
- Minimal SWIG Java wrappers for ResonanceMolSupplier
(github pull #657 from ptosco)
## New Database Cartridge Features:
- Support for PostgreSQL v8.x has been removed
- NumSpiroCenters and NumBridgeheadAtoms added
## New Java Wrapper Features:
- Support for FilterCatalogs
- Support for ResonanceMolSuppliers
## Deprecated code (to be removed in next release):
## Removed code:
- rdkit/DataStructs/BitVect.py : a C++ version is used, this was only present for historical reasons
- rdkit/DataStructs/SparseIntVect.py : a C++ version is used, this was only present for historical reasons
## Contrib updates:
- Addition of Peter Ertl's Natural Product Likeness score.
## Other:
- Much of the documentation has been translated from RST to MD
# Release_2015.03.1
(Changes relative to Release_2014.09.2)
## IMPORTANT
- This release has a new algorithm for canonical atom ordering. This
means that canonical SMILES generated with the new version will be
different from those generated with previous versions.
## Acknowledgements:
David Cosgrove, Andrew Dalke, JP Ebejer, Niko Fechner, Igor Filippov,
Patrick Fuller, David Hall, J Bach Hardie, Jan Holst Jensen, Brian
Kelley, Rich Lewis, John May, Michael Reutlinger, Sereina Riniker,
Alexander Savelyev, Roger Sayle, Nadine Schneider, Gianluca Sforna,
Paolo Tosco, Samo Turk, JL Varjo, Riccardo Vianello
## Highlights:
- A new algorithm for generating canonical atom orders. The new
algorithm is faster and more robust than the old one.
- C++-based molecule drawing code, allows consistent molecule
renderings from C++, Java, and Python. This will become the
default renderer in the next release.
- General performance improvements and reduction of memory usage.
- Torsion Fingerprints for comparing 3D conformations to each other
- MCS code now available from the PostgreSQL cartridge
## Bug Fixes:
- fmcs: use the zero bond type instead of other
(github issue #368 from AlexanderSavelyev)
- bug fixed in TorsionFingerprints.GetTFDMatrix
(github issue #376 from sriniker)
- rdkit.Chem.MolDb.Loader_sa does not work with python3.4
(github issue #390)
- ChemReactions: Bugfix/Memleak-fix in runReactants
(github issue #394 from NadineSchneider)
- TorsionConstraint bug fix
(github issue #395 from ptosco)
- Fixed LoadSDF to keep 3D info
(github pull #401 from samoturk)
- Incorrect expected absolute stereochemistries in a test
(github issue #407)
- GetSubstructMatches() consumes all available memory
(github issue #409)
- Bugfix in the chirality handling of chemical reactions
(github pull #410 from NadineSchneider)
- fixed two minor bugs in MMFF code
(github issue #416 from ptosco)
- Varied sanitise rejection with hydrogen representation
(github issue #418)
- Fixed two trivial bugs
(github issue #419 from ptosco)
- RDKit learns how to roundtrip MOLFile values.
(github issue #420 from bp-kelley)
- cairoCanvas.py python3 compatibility
(github issue #426 from bach-hardie)
- Chem.FragmentOnSomeBonds() should update implicit H count on aromatic heteroatoms when addDummies is False
(github issue #429)
- Chem.FragmentOnSomeBonds() crashes if the bond list is empty
(github issue #430)
- Increase limit for smallest ring size
(github issue #431 from cowsandmilk)
- Problems caused by heteroatoms with radicals in aromatic rings.
(github issue #432)
- Conversion from mol to InChI getting ring stereo wrong
(github issue #437)
- Metals in mol2 blocks handled incorrectly
(github issue #438)
- Fixed a few tests failing when the Windows git client is used
(github pull #439 from ptosco)
- Fixed tests failing on Windows when retrieving sources through the Windows git client
(github pull #440 from ptosco)
- Conformers not copied correctly in renumberAtoms
(github issue #441)
- Radicals are not correctly assigned when reading from SMILES
(github issue #447)
- moving RDBoost/Exceptions.h to RDGeneral
(github pull #458 from rvianello)
- Add code to accept blank SMILES input.
(github issue #468 from janholstjensen)
- Accept empty SMILES and SMARTS
(github issue #470)
- Fix MolFile Atom Line List Writer
(github issue #471 from bp-kelley)
- Moved 3D ipython renderer to dependency
(github pull #472 from patrickfuller)
- Windows build/test failure fixes
(github issue #473 from ptosco)
- install missing FMCS/Graph.h header file
(github pull #478 from rvianello)
- added const qualifiers to some methods of Atom/Bond iterator classes
(github pull #479 from rvianello)
- Bugfix in SmilesWrite and some additional tests for getMolFrags function
(github issue #482 from NadineSchneider)
- Removed a while(1) {} in BFGSOpt.h which might result in an infinite loop
(github issue #484 from ptosco)
- Gasteiger charge calculation fails with hexavalent sulfur #485
(github issue #485)
- SmilesWriter not creating automatic name values for molecules read from CTABs
(github issue #488)
- Fix StringType access, remove unused imports
(github issue #494 from bp-kelley)
## New Features:
- Isomeric fix in PandasTools
(github issue #369 from samoturk)
- added SaveXlsxFromFrame - first version
(github issue #371 from samoturk)
- New feature: Torsion fingerprints
(github issue #372 from sriniker)
- Add function to extract a molecule with a single (particular) conformer from a multiconf mol
(github issue #384)
- Added C++ and Python helpers to retrieve force-field parameters
(github issue #387 from ptosco)
- Support providing all options to SWIG-wrapped FMCS
(github issue #397)
- Add function to request if calling UpdatePropertyCache is necessary
(github issue #399)
- Add function to test if UpdatePropertyCache is necessary
(github issue #400 from NadineSchneider)
- Substructure highlighting in pandas dataframe (fixes #362)
(github issue #403 from nhfechner)
- Added SDF Export to PandasTools and adjusted SDF Import
(github issue #404 from nhfechner)
- support count-based avalon fingerprint
(github issue #408)
- New C++ drawing code
(github issue #412 from greglandrum)
- RDKit learns how to compute code coverage for tests
(github issue #413 from bp-kelley)
- Dictionary access is saniztized and optimized.
(github issue #414 from bp-kelley)
- expose MolOps::rankAtoms() and MolOps::rankAtomsInFragment() to python
(github issue #421)
- Dev/expose rank atoms to python
(github issue #422 from bp-kelley)
- rdkit learns how to wrap a proper RWMol in python
(github issue #423 from bp-kelley)
- Docs: document "magic" property values that are used throughout the code
(github issue #425)
- MolDraw2D: expose class to Python
(github issue #433)
- RDKit learns how to query properties on Atoms
(github issue #442 from bp-kelley)
- Issue445: provide helper functions for multithreaded evaluation of some expensive functions
(github issue #448 from greglandrum)
- RDKit learns how to release the GIL in python
(github pull #449 from bp-kelley)
- Dev/property queries
(github pull #450 from bp-kelley)
- Support a confId argument to the atom pair fingerprinting code
(github issue #453)
- Save the atom bookmarks so we can deconvolute reaction products.
(github pull #454 from bp-kelley)
- Cartridge: Support converting no structs to InChI
(github issue #455)
- RDKit learns how to expose ChemicalReaction copy constructor to python
(github pull #456 from bp-kelley)
- chirality flag was implemented for fmcs() function
(github pull #466 from AlexanderSavelyev)
- Support copy and deepcopy properly for at least Mol and RWMol
(github issue #467)
- Cartridge: add qmol_from_smiles() and qmol_from_ctab()
(github issue #469)
- restore java and python wrappers. New parameter (matchChiralTag)
(github issue #477 from AlexanderSavelyev)
- Added a Python wrapper for getShortestPath()
(github issue #487 from ptosco)
- Dev/merge query hs no unmapped atoms
(github issue #490 from bp-kelley)
## New Database Cartridge Features:
- The MCS code is now available within the cartridge
- The functions qmol_from_smiles() and qmol_from_ctab()
## New Java Wrapper Features:
- The new molecule rendering code is accessible from the SWIG wrappers.
## Deprecated code (to be removed in next release):
- C++: The functionality in $RDBASE/Code/GraphMol/MolDrawing has been
superseded by the new drawing code in $RDBASE/Code/GraphMol and will
be removed in the next release.
- Python:
- rdkit/Dbase/Pubmed
- rdkit/Chem/fmcs (this has been superseded by the C++ implementation)
- Cartridge: support for v8.x of PostgreSQL (v8.4 is no longer
supported by the PostgreSQL project team as of July 2014)
## Removed code:
- the method Atom::setMass() has been removed. Please use setIsotope()
instead.
- the methods involving an atom's dativeFlag have been removed.
## Contrib updates:
## Other:
- Python 2.6 support is deprecated. Starting with the next RDKit
release, we will only support python 2.7 and python 3.4 and
higher. Python 2.6 has not been supported since October 2013. If you
believe that you are stuck with python 2.6 because of the version of
RHEL you are running, please read this post to learn about your
options:
http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html
- The RDKit molecule objects (ROMol and RWMol) now require about 15%
less memory to store
# Release_2014.09.2
(Changes relative to Release_2014.09.1)
## Acknowledgements:
Sereina Riniker, Nadine Schneider, Paolo Tosco
## Bug Fixes:
- SMILES parser doing the wrong thing for odd dot-disconnected construct
(github issue #378)
- O3A code generating incorrect results for multiconformer molecules
(github issue #385)
- Suppliers probably not safe to read really large files
(github issue #392)
- Torsion constraints not worrking properly for negative torsions
(github issue #393)
- Core leak in reactions
(github issue #396)
# Release_2014.09.1
(Changes relative to Release_2014.03.1)
## Acknowledgements:
Andrew Dalke, James Davidson, Jan Domanski, Patrick Fuller, Seiji
Matsuoka, Noel O'Boyle, Sereina Riniker, Alexander Savelyev, Roger
Sayle, Nadine Schneider, Matt Swain, Paolo Tosco, Riccardo Vianello,
Richard West
## Bug Fixes:
- Bond query information not written to CTAB
(github issue #266)
- Bond topology queries not written to CTABs
(github issue #268)
- Combined bond query + topology query not correctly parsed from CTAB
(github issue #269)
- SWIG wrapped suppliers leak memory on .next()
(github issue #270)
- SWIG wrappers don't build with SWIG 3.0.x
(github issue #277)
- core leak from DataStructs.ConvertToNumpyArray
(github issue #281)
- MolTransforms not exposed to Java wrapper
(github issue #285)
- Seg fault in ReactionFromRxnBlock
(github issue #290)
- BitInfo from GetHashedMorganFingerprint() has non-folded values
(github issue #295)
- bad inchi for chiral S when the molecule is sanitized
(github issue #296)
- Cannot generate smiles for ChEBI 50252
(github issue #298)
- Either molecule-molecule substruct matching is wrong *OR* the docs for Atom::Match incorrect
(github issue #304)
- fluorine F-F gives segmentation fault with MMFF forcefield
(github issue #308)
- cartridge: MACCS similarity wrong when using the builtin popcount and the index
(github issue #311)
- Substructure Search via SMARTS implicit hydrogens
(github issue #313)
- SMARTS output for [x] is wrong
(github issue #314)
- Bonds not being set up properly in renumberAtoms
(github issue #317)
- Python 2 code in python 3 branch
(github issue #326)
- Linking error with ICC 15.0 on Linux
(github issue #327)
- Using explicit hydrogens in the SMILES lead to the same AP FP for two different molecules
(github issue #334)
- memory leaks when smiles/smarts parsers fail
(github issue #335)
- No double bond stereo perception from CTABs when sanitization is turned off
(github issue #337)
- missing MACCS key 44 might be found
(github issue #352)
- Hydrogens in mol blocks have a valence value set
(github issue #357)
- Computed props on non-sanitized molecule interfering with substructure matching
(github issue #360)
- Fixed a weakness in the angular restraint code
(github pull #261 from ptosco)
- A few fixes to improve MMFF/UFF robustness
(github pull #274 from ptosco)
- Static webGL rendering fix
(github pull #287 from patrickfuller)
- Revert #include ordering in SmilesMolSupplier.cpp
(github pull #297 from mcs07)
- Add missing include for RDDepict::compute2DCoords
(github pull #301 from baoilleach)
- Herschbach-Laurie fallback implemented to fix GitHub 308
(github pull #312 from ptosco)
- Issue #320 Making GetBestRMS more idiot-proof
(github pull #322 from jandom)
- Update URLs to InChI API after inchi-trust.org website redesign.
(github pull #341 from rwest)
## New Features:
- Should be able to do intramolecular bond breaking in reactions.
(github issue #58)
- Support reactions in cartridge
(github issue #223)
- Documentation of Inchi methods
(github issue #240)
- add DescribeQuery() to Bond python wrapper
(github issue #267)
- support avalon fingerprint in cartridge
(github issue #286)
- support partial fragmentation with fragmentOnSomeBonds
(github issue #288)
- Add calcNumHeterocycles() descriptor
(github issue #351)
- C++ implementation of FMCS algorithm
- Reordering feature for Butina clustering
(github pull #302 from sriniker)
- Changes and new functions for the calculation of RMS values between conformers of a molecule
(github pull #306 from sriniker)
- Extended chemical reaction functionality and add chemical reactions to cartridge
(github pull #315 from NadineSchneider)
- Custom color to highlight atoms in Mol2Image
(github pull #316 from jandom)
- Several different fingerprint algorithms for chemical reactions are now available
- add Chem.Draw.MolToQPixmap
(github pull #355 from mojaie)
## New Database Cartridge Features:
- *NOTE:* the configuration variable rdkit.ss_fp_size has been renamed to rdkit.sss_fp_size
- Chemical reactions and several operations on them are now supported
- Avalon fingerprints now supported (when support has been compiled in)
## New Java Wrapper Features:
- FMCS implementation exposed
- Fingerprints for chemical reactions
- Possible core leak in some of the MolSuppliers was fixed
Deprecated modules (to be removed in next release):
- Projects/SDView4
- rdkit/utils/
- GUIDs.py
- GenLicense.py
- Licensing.py
- PiddleTools.py
- PilTools.py
- REFile.py
- SliceTools.py
- rdkit/Logger
Removed modules:
## Contrib updates:
## Other:
- The RDKit now supports both python3 and python2.
- There is now conda integration for the RDKit.
- SMILES generation is substantially faster
# Release_2014.03.1
(Changes relative to Release_2013.09.2)
## IMPORTANT
- Due to a bug fix in the rotatable bonds definition, the default
rotatable bond calculation returns different values than before.
This also affects MQN descriptor #18.
## Acknowledgements:
Paul Czodrowski, James Davidson, Markus Elfring, Nikolas Fechner, Jan Holst Jensen, Christos Kannas, Sereina Riniker, Roger Sayle, Paolo Tosco, Samo Turk, Riccardo Vianello, Maciej Wójcikowski, Toby Wright
## Bug Fixes:
- Dict::DataType declaration causing problems with C++11 std::lib
(github issue 144)
- Pre-condition Violation in AllChem.Compute2DCoords
(github issue 146)
- GetSimilarityMapForFingerprint() fails when similarity is zero
(github issue 148)
- PatternFingerprint failure for substructure matching
(github issue 151)
- query atoms don't match ring queries
(github issue 153)
- Incorrect SMILES generated after calling MMFF parameterization
(github issue 162)
- Problems with Xe from SDF
(github issue 164)
- Radicals not being used in atom--atom matches
(github issue 165)
- Cannot skip sanitization while reading PDB
(github issue 166)
- Distance Geometry embedding not thread safe
(github issue 167)
- O3A::align() and O3A::trans() now return "true" RMSD value
(github pull 173)
- RangeError when pre-incrementing or decrementing AtomIterators
(github issue 180)
- ctabs do not contain wedged bonds for chiral s
(github issue 186)
- ctabs do not contain "A" when appropriate
(github issue 187)
- Problems round-tripping Al2Cl6 via CTAB
(github issue 189)
- Don't merge Hs onto dummies
(github issue 190)
- Wavy bonds to Hs in CTABs should affect the stereochemistry of attached double bonds
(github issue 191)
- Rendering binary compounds as ClH, FH, BrH or IH rather than putting H first.
(github issue 199)
- Fixed data race condition in Code/GraphMol/MolAlign/testMolAlign.cpp
(github pull 202)
- Re-prepared SDF/SMILES files of the MMFF validation suite + a fix
(github pull 205)
- Problems round-tripping P with non-default valence.
(github issue 206)
- Added a stricter definition of rotatable bonds as a new function in the ...
(github pull 211)
- Code/GraphMol/AddHs patch proposal
(github pull 212)
- Fix: Changed getNumReactantTemplates to GetNumReactantTemplates.
(github pull 219)
- aromatic B ("b") causes errors from SMARTS parser
(github issue 220)
- Segmentation fault for MMFF optimization with dummy atoms
(github issue 224)
- isMoleculeReactantOfReaction() and isMoleculeProductOfReaction() not useable from SWIG wrappers
(github issue 228)
- cartridge: mol_from_ctab() ignores argument about keeping conformers
(github issue 229)
- Reaction not correctly preserving chirality on unmapped atoms.
(github issue 233)
- AllChem.AssignBondOrdersFromTemplate() fails with nitro groups
(github issue 235)
- Fix molecule dataframe rendering in pandas 0.13.x
(github pull 236)
- Dummy labels copied improperly into products
(github issue 243)
- Two bugfixes in MMFF code
(github pull 248)
- seg fault when trying to construct pharmacophore with no conformation
(github issue 252)
- EmbedMolecule() should not create a conformer for molecules that have zero atoms
(github issue 256)
- cartridge: dice similarity calculation does not use USE_BUILTIN_POPCOUNT flag
(github issue 259)
- cartridge: similarity calculations wrong for maccs fps when USE_BUILTIN_POPCOUNT flag is set
(github issue 260)
## New Features:
- Expose gasteiger charge calculation to SWIG
(github issue 152)
- Added additional functionality to PandasTools
(github pull 155)
- Add MMFFHasAllMoleculeParams() to SWIG interface
(github issue 157)
- O3A code should throw an exception if the parameterization is not complete.
(github issue 158)
- Support zero order bonds
(github issue 168)
- Add attachmentPoint argument to ReplaceSubstructs
(github issue 171)
- Forcefield constraints (distances, angles, torsions, positions)
(github pull 172)
- Add kekulize flag to SDWriter
(github issue 174)
- Support operator= for RWMol
(github issue 175)
- Get GetAromaticAtoms() and GetQueryAtoms() working from python
(github issue 181)
- Support richer QueryAtom options in Python
(github issue 183)
- Support writing V3000 mol blocks
(github issue 184)
- Allow disabling the building of tests
(github issue 185)
- Expand DbCLI to allow updating databases
(github issue 197)
- Code refactoring and enhancement to allow for O3A alignment according to atom-based Crippen logP contribs
(github pull 201)
- call MolOps::assignStereochemistry() with flagPossibleStereoCenters true from within the molecule parsers.
(github issue 210)
- Support passing of file-like PandasTools.LoadSDF
(github pull 221)
- Reaction SMARTS parser should support agents
(github issue 222)
- Add function to MolOps to allow a molecule to be split into fragments based on a query function
This is useable from python as Chem.SplitMolByPDBResidues() and Chem.SplitMolByPDBChainId()
(github issue 234)
- Adding option useCounts for Morgan fingerprints
(github pull 238)
- support SimpleEnum functionality for adding recursive queries to reactions
(github issue 242)
- Additional functions for bit vectors
(github pull 244)
- Support of RDK fingerprints added to SimilarityMaps
(github pull 246)
- add get3DDistance
- support 3D distances in the atom pair fingerprints
(github issue 251)
- added MolOps::get3DDistanceMat() (Chem.Get3DDistanceMatrix() from python)
## New Database Cartridge Features:
- Support configuration of fingerprint sizes in cartridge.
(github issue 216)
- Add mol_to_ctab(mol, bool default true) to Postgres cartridge.
(github pull 230)
- Adds sum formula function to PG cartridge.
(github pull 232)
## New Java Wrapper Features:
Deprecated modules (to be removed in next release):
Removed modules:
- The CMIM integration (previously available to python in the rdkit.ML.FeatureSelect package)
has been removed due to license incompatibility.
## Contrib updates:
- Added Contribution to train ChEMBL-based models
(github pull 213)
- ConformerParser functionality
(github pull 245)
## Other:
- The Open3DAlign code is considerably faster.
- The SMILES parsing code is faster.
- Fix Bison 3.x incompabtility
(github pull 226)
- Add Travis support
(github pull 227)
- port of rdkit.ML bindings from Python/C API to boost::python
(github pull 237)
- The code now builds more easily using the Anaconda python distribution's
conda package manager
(github pull 247)
# Release_2013.09.2
(Changes relative to Release_2013.09.1)
## Acknowledgements:
Andrew Dalke, JP Ebejer, Daniel Moser, Sereina Riniker, Roger Sayle, Manuel Schwarze, Julia Weber
## Bug Fixes:
- cannot pickle unsanitized molecules
(github issue 149)
- Problems reading PDB files when locale is DE
(github issue 170)
- calling RWMol::clear() leaves property dict empty
(github issue 176)
- zero atom molecule generates exception in MolToSmiles when
rootedAtAtom is provided
(github issue 182)
- bond orders not being set when PDB files are read
(github issue 194)
- GenMACCSKeys() raises an exception with an empty molecule
(github issue 195)
- left-justified SDF bond topology of "0" raises an unexpected
exception
(github issue 196)
# Release_2013.09.1
(Changes relative to Release_2013.06.1)
## Acknowledgements:
James Davidson, JP Ebejer, Nikolas Fechner, Grégori Gerebtzoff, Michal Nowotka, Sereina Riniker, Roger
Sayle, Gianluca Sforna, Matthew Szymkiewicz, Paolo Tosco, Dan Warner,
## IMPORTANT
- Due to a bug fix in the parameter set, the MolLogP and MolMR
descriptor calculators now return different values for molecules
with pyrrole (or pyrrole-like) Ns.
## Bug Fixes:
- The pymol ShowMol method can now handle molecules with more than
999 atoms (they are sent via PDB)
- Various stability improvements to the Pandas integration.
(github issues 129 and 51)
- Some RDKit methods require python lists and don't allow passing
numpy arrays or pandas series directly
(github issue 119)
- mol2 parser not setting E/Z flags on double bonds
(github issue 114)
- Incorrect angle terms in UFF
(github issue 105)
- Problems with stereochemistry flags and PathToSubmol()
(github issue 103)
- Bad Crippen atom type for pyrrole H
(github issue 92)
- PandasTools tests fail with Pandas v0.12
(github issue 91)
- Isotope information not affecting chirality
(github issue 90)
- properties are not read from SDF files with V3000 mol blocks.
(github issue 88)
- assignStereochemistry does not remove bond wedging that shouldn't be there.
(github issue 87)
- Drawing code modifies wedge bonds in reactions
(github issue 86)
- Stereochemistry not perceived when parsing CTABs unless sanitization is done.
(github issue 82)
- 2D rendering issue for epoxide ( CAS 70951-83-6)
(github issue 78)
- PandasTools doctests should be failing, but are not
(github issue 75)
- Better handling of radicals to/from mol files
(github issue 73)
- Benzothiazolium structure can be parsed from ctab, but the SMILES generated cannot be processed.
(github issue 72)
- Chem.MolFromInch hangs on CID 23691477 and CID 23691480
(github issue 68)
- Chem.MolFromInchi on CHEMBL104337 leads to segmentation fault
(github issue 67)
- "Could not embed molecule." (The Anthony Conundrum)
(github issue 55)
## New Features:
- Add fragmentOnBonds() to python wrapper
(github issue 142)
- Allow renumbering atoms in a molecule.
(github issue 140)
- MMFF94 and MMFF94S support
- implementation of the Open3DAlign rigid alignment algorithm
- Support for reading and writing PDB files
- The python function AllChem.AssignBondOrdersFromTemplate() can be
used to assign bond orders from a reference molecule to the bonds
in another molecule. This is helpful for getting bond orders
correct for PDB ligands.
(github issue 135)
- Bond lengths, angles, and torsions can now be queries and adjusted.
(github issue 132)
- Implementation of similarity maps
(github issue 94)
- Python implementation of the Fraggle similarity algorithm.
See Jameed Hussain's presentation from the 2013 UGM for details:
https://github.com/rdkit/UGM_2013/blob/master/Presentations/Hussain.Fraggle.pdf?raw=true
- SparseIntVects now support -=, +=, /=, and *= with ints from C++
and Python
- support \\ in SMILES
(github issue 136)
- Support a similarity threshold in DbCLI
(github issue 134)
- Support construction molecules from other molecules in the python wrapper
(github issue 133)
- support tversky similarity in DbCLI
(github issue 130)
- support tversky similarity in cartridge
(github issue 121)
- support reading and writing reactionComponentType and reactionComponentNumber from ctabs
(github issue 118)
- Add in-place forms of addHs(), removeHs(), and mergeQueryHs()
(github issue 117)
- modify MolOps::cleanUp() to support this azide formulation: C-N=N#N
(github issue 116)
- Dihedral rotation exposed in python
(github issue 113)
- Support for cairocffi (cairo drop-in replacement that plays nicely with virtualenv)
(github issue 80)
- Grey color for Hydrogens
(github issue 97)
- Improvements to the Dict interface in C++
(github issue 74)
- customizable drawing options
(github issue 71)
- Add method for setting the chiral flag in mol blocks
(github issue 64)
- New descriptors added (Python only for now):
MaxPartialCharge(),MinPartialCharge(),MaxAbsPartialCharge(),MinAbsPartialCharge(),
MaxEStateIndex(),MinEStateIndex(),MaxAbsEStateIndex(),MinAbsEStateIndex()
## New Database Cartridge Features:
## New Java Wrapper Features:
- MMFF support
- PDB reading and writing
- Open3DAlign support
Deprecated modules (to be removed in next release):
Removed modules:
## Contrib updates:
- The MMPA implementation has been updated
See Jameed Hussain's tutorial from the 2013 UGM for details:
https://github.com/rdkit/UGM_2013/tree/master/Tutorials/mmpa_tutorial
[Jameed Hussain]
- An implementation of Ertl and Schuffenhauer's Synthetic
Accessibility score is available in Contrib/SA_Score
[Peter Ertl, Greg Landrum]
- Command line scripts for the Fraggle similarity algorithm
See Jameed Hussain's presentation from the 2013 UGM for details:
https://github.com/rdkit/UGM_2013/blob/master/Presentations/Hussain.Fraggle.pdf?raw=true
[Jameed Hussain]
## Other:
- Some of the changes to UFF deviate from the published force
field. Specifics of the changes, and the reasoning behind them, are
in Paolo Tosco's 2013 RDKit UGM presentation:
https://github.com/rdkit/UGM_2013/blob/master/Presentations/Tosco.RDKit_UGM2013.pdf?raw=true
- Reaction drawing has been improved. Support for reaction drawing
has been added to the IPython notebook.
# Release_2013.06.1
(Changes relative to Release_2013.03.2)
Administrivia note:
In the course of this release cycle, development was moved over
entirely to github. The sourceforge svn repository no longer contains
an up-to-date version of the code.
## Acknowledgements:
Andrew Dalke, JP Ebejer, Nikolas Fechner, Roger Sayle, Riccardo Vianello,
Yingfeng Wang, Dan Warner
## Bug Fixes:
- The docs for Descriptors.MolWt are now correct (GitHub #38)
- Molecules coming from InChi now have the correct molecular
weight. (GitHub #40)
- RemoveAtoms() no longer leads to problems in canonical SMILES
generation when chiral ring atoms are present. (GitHub #42)
- Atom invariants higher than the number of atoms in the molecule can
now be provided to the atom pairs and topological torsions
fingerprinters. (GitHub #43)
- A typo with the handling of log levels was fixed in the python
wrapper code for InChI generation. (GitHub #44)
- Stereochemistry no longer affects canonical SMILES generation if
non-stereo SMILES is being generated. (GitHub #45)
- The ExactMolWt of [H+] is no longer zero. (GitHub #56)
- The MPL canvas now has an addCanvasDashedWedge() method. (GitHub
#57)
- RWMol::insertMol() now copies atom coordinates (if
present). (GitHub #59)
- The "h" primitive in SMARTS strings now uses the method
getTotalNumHs(false) instead of getImplicitValence().
(GitHub #60)
- bzip2 files now work better with the SDWriter class. (GitHub #63)
- a crashing bug in InChI generation was fixed. (GitHub #67)
## New Features:
- Sanitization can now be disabled when calling GetMolFrags() from
Python (GitHub #39)
- Bond.GetBondTypeAsDouble() has been added to the python
wrapper. (GitHub #48)
- The fmcs code now includes a threshold argument allowing the MCS
that hits a certain fraction of the input molecules (instead of all
of them) to be found. The code has also been synced with the most
recent version of Andrew Dalke's version.
- Atoms now have a getTotalValence() (GetTotalValence() from Python)
method. (GitHub #61)
- R labels from Mol files now can go from 0-99
- chiral flags in CTABs are now handled on both reading and writing.
The property "_MolFileChiralFlag" is used.
## New Database Cartridge Features:
## New Java Wrapper Features:
- {Get,Set}Prop() methods are now available for both Atoms and
Bonds. (GitHub #32)
Deprecated modules (to be removed in next release):
Removed modules:
- rdkit.utils.pydoc_local
## Other:
- the handling of flex/bison output files as dependencies has been
improved (GitHub #33)
- the molecule drawing code should now also work with pillow (a fork of
PIL)
- the PANDAS integration has been improved.
# Release_2013.03.2
(Changes relative to Release_2013.03.1)
## Acknowledgements:
Manuel Schwarze
## Bug Fixes:
- The hashed topological torsion fingerprints generated are now the
same as in previous rdkit versions. (GitHub issue 25)
# Release_2013.03.1
(Changes relative to Release_2012.12.1)
## IMPORTANT
- The algorithm for hashing subgraphs used in the RDKit fingerprinter
has changed. The new default behavior will return different
fingerprints than previous RDKit versions. This affects usage from
c++, python, and within the postgresql cartridge. See the "## Other"
section below for more details.
## Acknowledgements:
Paul Czodrowski, Andrew Dalke, Jan Domanski, Jean-Paul Ebejer, Nikolas
Fechner, Jameed Hussain, Stephan Reiling, Sereina Riniker, Roger
Sayle, Riccardo Vianello
## Bug Fixes:
- removeBond now updates bond indices (sf.net issue 284)
- dummy labels are no longer lost when atoms are copied (sf.net issue
285)
- more specific BRICS queries now match before less specific ones
(sf.net issue 287, github issue 1)
- molAtomMapNumber can now be set from Python (sf.net issue 288)
- the legend centering for molecular image grids has been improved
(sf.net issue 289)
- make install now includes all headers (github issue 2)
- InChIs generaged after clearing computed properties are now correct
(github issue 3)
- Reacting atoms that don't change connectivity no longer lose
stereochemistry (github issue 4)
- Aromatic Si is now accepted (github issue 5)
- removeAtom (and deleteSubstructs) now correctly updates stereoAtoms
(github issue 8)
- [cartridge] pg_dump no longer fails when molecules cannot be
converted to SMILES (github issue 9)
- a canonicalization bug in MolFragmentToSmiles was fixed (github issue 12)
- atom labels at the edge of the drawing are no longer cut off (github issue 13)
- a bug in query-atom -- query-atom matching was fixed (github issue 15)
- calling ChemicalReaction.RunReactants from Python with None
molecules no longer leads to a seg fault. (github issue 16)
- AllChem.ReactionFromSmarts now generates an error message when called
with an empty string.
- Writing CTABs now includes information about atom aliases.
- An error in the example fdef file
$RDBASE/Contrib/M_Kossner/BaseFeatures_DIP2_NoMicrospecies.fdef
has been fixed. (github issue 17)
- Quantize.FindVarMultQuantBounds() no longer generates a seg fault
when called with bad arguments. (github issue 18)
- The length of SDMolSuppliers constructed from empty files is no
longer reported as 1. (github issue 19)
- Partial charge calculations now work for B, Si, Be, Mg, and Al.
(github issue 20)
- Two logging problems were fixed (github issues 21 and 24)
- Molecules that have had kappa descriptors generated can now be
written to SD files (github issue 23)
## New Features:
- The handling of chirality in reactions has been reworked and
improved. Please see the RDKit Book for an explanation.
- Atom-pair and topological-torsion fingerprints now support the
inclusion of chirality in the atom invariants.
- A number of new compositional descriptors have been added:
calcFractionCSP3, calcNum{Aromatic,Aliphatic,Saturated}Rings,
calcNum{Aromatic,Aliphatic,Saturated}Heterocycles,
calcNum{Aromatic,Aliphatic,Saturated}Carbocycles
- An implementation of the molecular quantum number (MQN) descriptors
has been added.
- RDKFingerprintMol now takes an optional atomBits argument which is
used to return information about which bits atoms are involved in.
- LayeredFingerprintMol no longer takes the arguments tgtDensity and
minSize. They were not being used.
- LayeredFingerprintMol2 has been renamed to PatternFingerprintMol
- The substructure matcher can now properly take stereochemistry into
account if the useChirality flag is provided.
- The module rdkit.Chem.Draw.mplCanvas has been added back to svn.
- A new module integrating the RDKit with Pandas (rdkit.Chem.PandasTools)
has been added.
## New Database Cartridge Features:
- The new compositional descriptors are available:
calcFractionCSP3, calcNum{Aromatic,Aliphatic,Saturated}Rings,
calcNum{Aromatic,Aliphatic,Saturated}Heterocycles,
calcNum{Aromatic,Aliphatic,Saturated}Carbocycles
- MACCS fingerprints are available
- the substruct_count function is now available
- substructure indexing has improved. NOTE: indexes on molecule
columns will need to be rebuilt.
## New Java Wrapper Features:
- The new compositional descriptors are available:
calcFractionCSP3, calcNum{Aromatic,Aliphatic,Saturated}Rings,
calcNum{Aromatic,Aliphatic,Saturated}Heterocycles,
calcNum{Aromatic,Aliphatic,Saturated}Carbocycles
- The molecular quantum number (MQN) descriptors are available
- MACCS fingerprints are available
- BRICS decomposition is available.
Deprecated modules (to be removed in next release):
Removed modules:
## Other:
- RDKit fingerprint generation is now faster. The hashing algorithm
used in the RDKit fingerprinter has changed.
- Force-field calculations are substantially faster (sf.net issue 290)
- The core of the BRICS implementation has been moved into C++.
- The MACCS fingerprint implementation has been moved into
C++. (contribution from Roger Sayle)
- New documentation has been added: Cartridge.rst, Overview.rst,
Install.rst
# Release_2012.12.1
(Changes relative to Release_2012.09.1)
## IMPORTANT
## Acknowledgements:
Andrew Dalke, James Davidson, Robert Feinstein, Nikolas Fechner,
Nicholas Firth, Markus Hartenfeller, Jameed Hussain, Thorsten Meinl,
Sereina Riniker, Roger Sayle, Gianluca Sforna, Pat Walters, Bernd
Wiswedel
## Bug Fixes:
- Using parentheses for zero-level grouping now works in reaction
SMARTS. This allows intramolecular reactions to be expressed.
- SMILES generated for molecules with ring stereochemistry
(e.g. N[C@H]1CC[C@H](CC1)C(O)=O) are now canonical. (issue 40)
- SKP lines in a CTAB property block are now properly handled. (issue
255)
- The molecular drawing code now shows dotted lines for Any bonds.
(issue 260)
- ROMol::debugMol() (ROMol.DebugMol() in Python) now reports isotope
information. (issue 261)
- The molecular drawing code now correctly highlights wedged bonds.
(issue 262)
- RWMol::addAtom() now adds atoms to conformers.
(issue 264)
- TDT files with atomic coordinates now have those coordinates in the
correct order. (issue 265)
- A ring-finding error/crash has been fixed. (issue 266)
- Dummy atoms now have a default valence of 0 and no maximum
valence. (issue 267)
- The Python code no longer throws string exceptions. (issue 268)
- Invalid/unrecognized atom symbols in CTABs are no longer
accepted. (issue 269)
- Chem.RDKFingerprint now accepts atom invariants with values larger
than the number of atoms. (issue 270)
- The code should now all work when the locale (LANG) is set to
values other than "C" or one of the English locales. (issue 271)
- Two-coordinate Hs are no longer removed by
MolOps::removeHs(). (issue 272)
- R groups read from CTABs are now marked using setIsotope() instead
of setMass(). (issue 273)
- Hs present in the molecule graph no longer incorrectly impact
substructure matches. (issue 274)
- Murcko decomposition of molecules with chiral ring atoms now
works. (issue 275)
- Methane now shows up in molecular drawings. (issue 276)
- '&' in SLN properties is now correctly handled. (issue 277)
- Molecules with string-valued molAtomMapNumber atomic properties can
now be serialized. (issue 280)
- SMARTS strings containing a dot in a recursive piece are now
properly parsed. (issue 281)
- The SMILES and SLN parsers no longer leak memory when sanitization
of the result molecule fails. (issue 282)
- The cairo canvas drawing code now works with PIL v1.1.6 as well as
more recent versions.
## New Features:
- RDKit ExplicitBitVects and DiscreteValueVects can now be directly
converted into numpy arrays.
- Rogot-Goldberg similarity has been added.
- C++: BitVects and SparseIntVects now support a size() method.
- C++: DiscreteValueVects now support operator[].
- An initial version of a SWIG wrapper for C# has been added.
- Support for easily adding recursive queries to molecules and
reactions has been added. More documentation is required for this
feature.
- To allow more control over the reaction, it is possible to flag reactant
atoms as being protected by setting the "_protected" property on those
atoms. Flagged atoms will not be altered in the reaction.
- Atoms and Bonds now support a ClearProp() method from python.
- The new Python module rdkit.ML.Scoring.Scoring includes a number of
standard tools for evaluating virtual screening experiments: ROC
curve generation, AUC, RIE, BEDROC, and Enrichment.
- The function RDKit::Descriptors::getCrippenAtomContribs()
(rdkit.Chem.rdMolDescriptors._CalcCrippenContribs() from Python)
can now optionally return atom-type information as ints or text.
## New Database Cartridge Features:
- The Chi and Kappa descriptors are now available
## New Java Wrapper Features:
- The Chi and Kappa descriptors are now available
Deprecated modules (to be removed in next release):
Removed modules:
- The old SWIG wrapper code in $RDBASE/Code/Demos/SWIG has been
removed. The SWIG wrappers are now in $RDBASE/Code/JavaWrappers
## Other:
- The C++ code for drawing molecules previously found in
$RDBASE/Code/Demos/RDKit/Draw has been moved to
$RDBASE/Code/GraphMol/MolDrawing
- Calculation of the Chi and Kappa descriptors has been moved into
C++.
- To make builds easier, the thread-safety of the recursive-smarts
matcher has been made optional. The build option is
RDK_BUILD_THREADSAFE_SSS.
- There are two new entries in the Contrib directory:
* Contrib/PBF : An implementation of the Plane of Best Fit
contributed by Nicholas Firth.
* Contrib/mmpa : An implementation of GSK's matched molecular pairs
algorithm contributed by Jameed Hussain
- A new "Cookbook" has been added to the documentation to provide
a collection of recipes for how to do useful tasks.
# Release_2012.09.1
(Changes relative to Release_2012.06.1)
## IMPORTANT
- Some of the bug fixes affect the generation of SMILES. Canonical
SMILES generated with this version of the RDKit will be different
from previous versions.
- The fix to Issue 252 (see below) will lead to changes in calculated
logP and MR values for some compounds.
- The fix to Issue 254 (see below) will lead to changes in some
descriptors and geometries for sulfur-containing compounds.
- The fix to Issue 256 (see below) has changed the name of the
optional argument to mol.GetNumAtoms from onlyHeavy to
onlyExplicit. For compatibility reasons, Python code that uses
explicitly uses onlyHeavy will still work, but it will generate
warnings. This compatibility will be removed in a future release.
## Acknowledgements:
Gianpaolo Bravi, David Cosgrove, Andrew Dalke, Fabian Dey, James
Davidson, JP Ebejer, Gabriele Menna, Stephan Reiling, Roger Sayle,
James Swetnam
## Bug Fixes:
- The molecules that come from mergeQueryHs() now reset the RingInfo
structure. (issue 245)
- The output from MurckoScaffold.MakeScaffoldGeneric no longer
includes stereochemistry or explicit Hs. (issue 246)
- D and T atoms in CTABs now have their isotope information
set. (issue 247)
- Some problems with ring finding in large, complex molecules have
been fixed. (issue 249)
- The "rootedAtAtom" argument for FindAllSubgraphsOfLengthN is now
handled properly. (issue 250)
- Bonds now have a SetProp() method available in Python. (issue 251)
- A number of problems with the Crippen atom parameters have been
fixed. (issue 252)
- Ring closure digits are no longer repeated on the same atom in
SMILES generated by the RDKit. (issue 253)
- Non-ring sulfur atoms adjacent to aromatic atoms are no longer set
to be SP2 hybridized. This allows them to be stereogenic. (issue
254)
- The combineMols() function now clears computed properties on the
result molecule.
- A couple of problems with the pickling functions on big endian
hardware were fixed.
- The molecule drawing code now uses isotope information
- Superscript/Subscript handling in the agg canvas has been improved.
- SKP lines in CTABS are now propertly handled. (Issue 255)
- The name of the optional argument to mol.GetNumAtoms has been
changed from onlyHeavy to onlyExplicit. The method counts the number
of atoms in the molecular graph, not the number of heavy
atoms. These numbers happen to usually be the same (which is why
this has taken so long to show up), but there are exceptions if Hs
or dummy atoms are in the graph. (Issue 256)
- Unknown bonds in SMILES are now output using '~' instead of '?'. The
SMILES parser now recognizes '~' as an "any bond" query. (Issue 257)
- Lines containing only white space in SDF property blocks are no
longer treated as field separators.
- Transition metals and lanthanides no longer have default valences
assigned.
## New Features:
- The RDKit now has a maximum common substructure (MCS) implementation
contributed by Andrew Dalke. This is currently implemented in Python
and is available as: from rdkit.Chem import MCS Documentation is
available as a docstring for the function MCS.FindMCS and in the
GettingStarted document.
- A few new functions have been added to rdkit.Chem.Draw:
MolsToImage(), MolsToGridImage(), ReactionToImage()
- CalcMolFormula() now provides the option to include isotope
information.
- The RDKit and Layered fingerprinters both now accept "fromAtoms"
arguments that can be used to limit which atoms contribute to the
fingerprint.
- Version information is now available in the Java wrapper.
- The descriptor NumRadicalElectrons is now available.
- The PyMol interface now supports a GetPNG() method which returns the
current contents of the viewer window as an PIL Image object.
- Molecules (ROMol in C++, rdkit.Chem.Mol in Python) now have a
getNumHeavyAtoms() method.
- Component-level grouping (parens) can be used in reaction SMARTS.
## New Database Cartridge Features:
- support for molecule <-> pickle conversion via the functions
mol_to_pkl, mol_from_pkl, and is_valid_mol_pkl.
- support for bit vector <-> binary text conversion via the functions
bfp_to_binary_text, bfp_from_binary_text
## New Java Wrapper Features:
Deprecated modules (to be removed in next release):
Removed modules:
## Other:
- During this release cycle, the sourceforge project was updated to
their new hosting system. This explains the change in bug/issue
ids.
- the SMILES parser is now substantially faster.
- The molecular drawings generated by Code/Demo/RDKit/Draw/MolDrawing.h
have been improved.
- There is now demo code availble for using the C++ drawing code
within Qt applications. (contributed by David Cosgrove)
- The directory $RDBASE/Regress now contains sample data and
scripts for benchmarking the database cartridge.
- Fused-ring aromaticity is now only considered in rings of up to size
24.
- It is no longer necessary to have flex and bison installed in order
to build the RDKit.
# Release_2012.06.1
(Changes relative to Release_2012.03.1)
## IMPORTANT
- Some of the bug fixes affect the generation of SMILES. Canonical
SMILES generated with this version of the RDKit will be different
from previous versions.
## Acknowledgements:
Andrew Dalke, JP Ebejer, Igor Filippov, Peter Gedeck, Jan Holst
Jensen, Adrian Jasiński, George Papadatos, Andrey Paramonov, Adrian
Schreyer, James Swetnam
## Bug Fixes:
- Radicals are now indicated in molecular depictions. (Issue 3516995)
- Calling .next() on an SDMolSupplier at eof no longer results in an
infinite loop. (Issue 3524949)
- Chirality perception no longer fails in large molecules.
(Issue 3524984)
- problem creating molblock for atom with four chiral nbrs
(Issue 3525000)
- A second sanitization leads to a different molecule.
(Issue 3525076)
- can't parse Rf atom in SMILES
(Issue 3525668)
- generates [HH2-] but can't parse it
(Issue 3525669)
- improper (re)perception of 1H-phosphole
(Issue 3525671)
- ForwardSDMolSupplier not skipping forward on some errors
(Issue 3525673)
- SMILES/SMARTS parsers don't recognize 0 atom maps
(Issue 3525776)
- R group handling in SMILES
(Issue 3525799)
- Canonical smiles failure in symmetric heterocycles
(Issue 3526810)
- Canonical smiles failure with "extreme" isotopes
(Issue 3526814)
- Canonical smiles failure with many symmetric fragments
(Issue 3526815)
- Canonical smiles failure with dependent double bonds
(Issue 3526831)
- Build Fails Due to Missing include in Code/RDBoost/Wrap.h
(Issue 3527061)
- Incorrect template parameter use in std::make_pair
(Issue 3528136)
- Canonicalization failure in cycle
(Issue 3528556)
- incorrect values reported in ML analysis
(Issue 3528817)
- Cartridge does not work on 32bit ubuntu 12.04
(Issue 3531232)
- Murcko Decomposition generates unuseable molecule.
(Issue 3537675)
- A few memory leaks were fixed in the Java Wrappers
- The exact mass of molecules with non-standard isotopes is now
calculated correctly.
- The default (Euclidean) distance metric should now work with Butina
clustering.
- Some bugs in the depictor were fixed.
- AvalonTools bug with coordinate generation for mols with no
conformers fixed.
## New Features:
- ChemicalFeatures now support an optional id
- Isotope handling has been greatly improved. Atoms now have a
getIsotope() (GetIsotope() in Python) method that returns zero if
no isotope has been set, the isotope number otherwise.
- The function MolFragmentToSmiles can be used to generate canonical
SMILES for pieces of molecules.
- The function getHashedMorganFingerprint (GetHashedMorganFingerprint
in Python) has been added.
## New Database Cartridge Features:
- The functions mol_from_smiles(), mol_from_smarts(), and
mol_from_ctab() now return a null value instead of generating an
error when the molecule processing fails. This allows molecule
tables to be constructed faster.
- The functions mol_to_smiles() and mol_to_smarts() have been added.
- Creating gist indices on bit-vector fingerprint columns is faster.
- The indexing fingerprint for molecular substructures has been changed.
The new fingerprint is a bit slower to generate, but is
considerably better at screening. More information here:
http://code.google.com/p/rdkit/wiki/ImprovingTheSubstructureFingerprint
## New Java Wrapper Features:
Deprecated modules (to be removed in next release):
- Support for older (pre9.1) postgresql versions.
Removed modules:
- rdkit.Excel
- the code in $RDBASE/Code/PgSQL/RDLib
- rdkit.Chem.AvailDescriptors : the same functionality is now available
in a more useable manner from rdkit.Chem.Descriptors
## Other:
- Similarity calculations on ExplicitBitVectors should now be much faster
- Use of [Xa], [Xb], etc. for dummy atoms in SMILES is no longer
possible. Use the "*" notation and either isotopes (i.e. [1*],
[2*]) or atom maps (i.e. [*:1], [*:2]) instead.
- Initial work was done towards make the RDKit work on big endian
hardware (mainly changes to the way pickles are handled)
- Canonical SMILES generation is now substantially faster.
# Release_2012.03.1
(Changes relative to Release_2011.12.1)
## IMPORTANT
- The atom-atom match behavior for non-query atoms has been changed.
This affects the results of doing substructure matches using
query molecules that are not constructed from SMARTS.
## Acknowledgements:
JP Ebejer, Paul Emsley, Roger Sayle, Adrian Schreyer, Gianluca Sforna,
Riccardo Vianello
## Bug Fixes:
- the older form of group evaluations in Mol blocks is now correctly
parsed. (Issue 3477283)
- some problems with handling aromatic boron were fixed. (Issue 3480481)
- the SD writer no longer adds an extra $$$$ when molecule parsing
fails (Issue 3480790)
- molecules in SD files that don't contain atoms are now parsed
without warnings and their properties are read in. (Issue 3482695)
- it's now possible to embed molecules despite failures in the triangle
bounds checking (Issue 3483968)
- Isotope information in Mol blocks is now written to M ISO lines
instead of going in the atom block. (Issue 3494552)
- Better 2D coordinates are now generated for neighbors of atoms with
unspecified hybridization. (Issue 3487469)
- Dummy atoms and query atoms are now assigned UNSPECIFIED hybridization
instead of SP. (Issue 3487473)
- Error reporting for SMARTS involving recursion has been improved.
(Issue 3495296)
- Some problems of queries and generating SMARTS for queries were resolved.
(Issues 3496759, 3496799, 3496800)
- It's now possible to do database queries with SMARTS that use the index.
(Issue 3493156).
- A series of problems related to thread safety were fixed.
- Tracking the lifetime of owning molecules across the C++/Python
border is now being handled better (Issue 3510149)
- A bug with ring-finding in some complex fused ring systems was fixed.
(Issue 3514824)
- The AllChem module now imports successfully even if the SLN parser
hasn't been built.
## New Features:
- The molecular sanitization is now configurable using an optional
command-line argument.
- It's now possible to get information from the sanitization routine
about which operation failed.
- Suppliers support GetLastItemText()
- ComputeDihedralAngle() and ComputeSignedDihedralAngle() were added
to the rdkit.Geometry module.
- computeSignedDihedralAngle() was added to the C++ API
- ChemicalReactions now support a GetReactingAtoms() method
- the Mol file and Mol block parsers, as well as the SD suppliers,
now support an optional "strictParsing" argument.
When this is set to False, problems in the structure of the
input file are ignored when possible
- EditableMols return the index of the atom/bond added by AddAtom/AddBond
- rdkit.Chem.Draw.MolToImage() now supports an optional "legend" argument
- The MolToSmiles function now supports an optional "allBondsExplicit" argument.
## New Database Cartridge Features:
- the functions mol_from_smiles() and mol_from_smarts() were added
## New Java Wrapper Features:
- the diversity picker now supports an optional random-number seed
Deprecated modules (to be removed in next release):
- rdkit.Excel
Removed modules:
- rdkit.ML.Descriptors.DescriptorsCOM
- rdkit.ML.Composite.CompositeCOM
## Other:
- Assigning/cleaning up stereochemistry is now considerably
faster. This makes standard molecule construction faster.
# Release_2011.12.1
(Changes relative to Release_2011.09.1)
## IMPORTANT
- The functions for creating bit vector fingerprints using atom pairs
and topological torsions have been changed. The new default
behavior will return different fingerprints than previous RDKit
versions. This affects usage from c++, python, and within the
postgresql cartridge. See the "## Other" section below for more
details.
- Due to a bug fix in the parameter set, the MolLogP and MolMR
descriptor calculators now return different values for some
molecules. See the "## Bug Fixes" section below for more details.
- To make storage more efficient, the size of the fingerprint
used to store morgan fingerprints in the database cartridge
has been changed from 1024 bits to 512 bits. If you update
the cartridge version all morgan and featmorgan fingerprints
and indices will need to be re-generated.
## Acknowledgements:
Andrew Dalke, JP Ebejer, Roger Sayle, Adrian Schreyer, Gianluca
Sforna, Riccardo Vianello, Toby Wright
## Bug Fixes:
- molecules with polymeric S group information are now rejected by the
Mol file parser. (Issue 3432136)
- A bad atom type definition and a bad smarts definition were fixed in
$RDBASE/Data/Crippen.txt. This affects the values returned by the
logp and MR calculators. (Issue 3433771)
- Unused atom-map numbers in reaction products now produce warnings
instead of errors. (Issue 3434271)
- rdMolDescriptors.GetHashedAtomPairFingerprint() now works. (Issue
3441641)
- ReplaceSubstructs() now copies input molecule conformations to the
output molecule. (Issue 3453144)
- three-coordinate S and Se are now stereogenic (i.e. the
stereochemistry of O=[S@](C)F is no longer ignored). (Issue 3453172)
## New Features:
- Integration with the new IPython graphical canvas has been
added. For details see this wiki page:
http://code.google.com/p/rdkit/wiki/IPythonIntegration
- Input and output from Andrew Dalke's FPS format
(http://code.google.com/p/chem-fingerprints/wiki/FPS) for
fingerprints.
- The descriptor CalcNumAmideBonds() was added.
## New Database Cartridge Features:
- Support for PostgreSQL v9.1
- Integration with PostgreSQL's KNN-GIST functionality. (Thanks to
Adrian Schreyer)
- the functions all_values_gt(sfp,N) and all_values_lt(sfp,N) were
added.
## New Java Wrapper Features:
- A function for doing diversity picking using fingerprint similarity.
- support for the Avalon Toolkit (see below)
Deprecated modules (to be removed in next release):
- rdkit.Excel
- rdkit.ML.Descriptors.DescriptorsCOM
- rdkit.ML.Composite.CompositeCOM
Removed modules:
- rdkit.WebUtils
- rdkit.Reports
- rdkit.mixins
## Other:
- Improvements to the SMARTS parser (Roger Sayle)
- The atom-pair and topological-torsion fingerprinting functions that
return bit vectors now simulate counts by setting multiple bits in
the fingerprint per atom-pair/torsion. The number of bits used is
controlled by the nBitsPerEntry argument, which now defaults to 4.
The new default behavior does a much better job of reproducing the
similarities calculated using count-based fingerprints: 95% of
calculated similarities are within 0.09 of the count-based value
compared with 0.22 or 0.17 for torsions and atom-pairs previously.
To get the old behavior, set nBitsPerEntry to 1.
- Optional support has been added for the Avalon Toolkit
(https://sourceforge.net/projects/avalontoolkit/) to provide an
alternate smiles canonicalization, fingerprint, and 2D coordination
generation algorithm.
- The SLN support can now be switched off using the cmake variable
RDK_BUILD_SLN_SUPPORT.
- There are now instructions for building the RDKit and the SWIG
wrappers in 64bit mode on windows.
# Release_2011.09.1
(Changes relative to Release_2011.06.1)
## IMPORTANT
- A bug in the definition of the Lipinski HBD descriptor was fixed in
this release. The descriptor Lipinski.NHOHCount will return
different values for molecules containing Ns or Os with more than
one attached H.
## Acknowledgements:
Eddie Cao, Richard Cooper, Paul Czodrowski, James Davidson, George
Papadatos, Riccardo Vianello
## Bug Fixes:
- A problem with interpretation of stereochemistry from mol files was
fixed (Issue 3374639)
- Sterochemistry information for exocyclic double bonds in mol blocks
is no longer lost. (Issue 3375647)
- linear double bonds from mol files now have their stereochemistry
set correctly(Issue 3375684)
- Chirality for phosphates and sulfates is not longer automatically
removed. (Issue 3376319)
- A bug with the reading of query information from mol files was
fixed. (Issue 3392107)
- Sterochemistry is now cleaned up after processing mol2
files. (Issue 3399798)
- mergeQueryHs now correctly handles atoms with multiple Hs (Issue
3415204)
- mergeQueryHs now correctly handles atoms without initial query
information (Issue 3415206)
- the calcLipinskiHBD() (equivalent to Lipinski.NHOHCount) descriptor
now correctly handles Ns or Os with multiple Hs. (Issue 3415534)
- Morgan fingerprints generated using the fromAtoms argument now have
all bits from those atoms set.(Issue 3415636)
- A problem with the way MolSuppliers handle the EOF condition when
built with the most recent versions of g++ was fixed.
- Translation of RDKit stereochemistry information into InChI
stereochemistry information is improved.
## New Features:
## New Database Cartridge Features:
- molecules can now be built from mol blocks using the function
mol_from_ctab(). The corresponding is_valid_ctab() function was
also added.
- the radius argument is now optional for the functions morganbv_fp,
morgan_fp, featmorganbv_fp, and featmorgan_fp. The default radius
for all four functions is 2.
Deprecated modules (to be removed in next release):
Removed modules:
## Other:
- The documentation in $RDBASE/Docs/Book has been migrated to use
Sphinx instead of OpenOffice.
- The optional InChI support can now be built using a system
installation of the InChI library.
# Release_2011.06.1
(Changes relative to Release_2011.03.2)
## Acknowledgements:
- Eddie Cao, Andrew Dalke, James Davidson, JP Ebejer, Gianluca
Sforna, Riccardo Vianello, Bernd Wiswedel
## Bug Fixes:
- A problem with similarity values between SparseIntVects that
contain negative values was fixed. (Issue 3295215)
- An edge case in SmilesMolSupplier.GetItemText() was fixed. (Issue
3299878)
- The drawing code now uses dashed lines for aromatic bonds without
kekulization. (Issue 3304375)
- AllChem.ConstrainedEmbed works again. (Issue 3305420)
- atomic RGP values from mol files are accessible from python (Issue
3313539)
- M RGP blocks are now written to mol files. (Issue 3313540)
- Atom.GetSymbol() for R atoms read from mol files is now
correct. (Issue 3316600)
- The handling of isotope specifications is more robust.
- A thread-safety problem in SmilesWrite::GetAtomSmiles() was fixed.
- some of the MACCS keys definitions have been corrected
- Atoms with radical counts > 2 are no longer always written to CTABs
with a RAD value of 3. (Issue 3359739)
## New Features:
- The smiles, smarts, and reaction smarts parsers all now take an additional
argument, "replacements", that carries out string substitutions pre-parsing.
- There is now optional support for generating InChI codes and keys
for molecules.
- the atom pair and topological torsion fingerprint generators now
take an optional "ignoreAtoms" argument
- a function to calculate exact molecular weight was added.
- new java wrappers are now available in $RDBASE/Code/JavaWrappers
- the methods getMostCommonIsotope() and getMostCommonIsotopeMass()
have been added to the PeriodicTable class.
## New Database Cartridge Features:
- Support for generating InChIs and InChI keys
(if the RDKit InChI support is enabled).
Deprecated modules (to be removed in next release):
- The original SWIG wrappers in $RDBASE/Code/Demos/SWIG are deprecated
Removed modules:
## Other:
- The quality of the drawings produced by both the python molecule drawing
code and $RDBASE/Code/Demos/RDKit/Draw is better.
- the python molecule drawing code will now use superscripts and
subscripts appropriately when using the aggdraw or cairo canvases
(cairo canvas requires pango for this to work).
- $RDBASE/Code/Demos/RDKit/Draw now includes an example using cairo
- A lot of compiler warnings were cleaned up.
- The error reporting in the SMILES, SMARTS, and SLN parsers was improved.
- the code for calculating molecular formula is now in C++
(Descriptors::calcMolFormula())
# Release_2011.03.2
(Changes relative to Release_2011.03.1)
## Bug Fixes:
- A problem in the refactored drawing code that caused the
rdkit.Chem.Draw functionality to not work at all was fixed.
# Release_2011.03.1
(Changes relative to Release_2010.12.1)
## Acknowledgements:
- Eddie Cao, James Davidson, Kirk DeLisle, Peter Gedeck, George
Magoon, TJ O'Donnell, Gianluca Sforna, Nik Stiefl, Bernd Wiswedel
## Bug Fixes:
- The performance of SSSR finding for molecules with multiple highly-fused
ring systems has been improved. (Issue 3185548)
- Isotope information is now correctly saved when molecules are
serialized (pickled). (Issue 3205280)
- Generating SMILES for a molecule no longer changes the
molecule. This fixes a round-trip bug with certain highly symmetric
molecules read from SD files. (Issue 3228150)
- Another bounds-matrix generation bug for highly (con)strained
systems was fixed. (Issue 3238580)
- Conformation information is now better handled by deleteSubstructs(),
replaceSubstructs(), and replaceCore().
## New Features:
- the rdkit.Chem.Draw package has been significantly refactored.
- Code for doing Murcko decomposition of molecules has been
added. From Python this is in the module:
rdkit.Chem.Scaffolds.MurckoScaffold
It's available in C++ in the GraphMol/ChemTransforms area.
- rdkit.Chem.AllChem.TransformMol() now takes optional arguments
allowing the conformation to be transformed to be specified and
other existing conformations to be preserved.
- Calculations for most of the descriptors in rdkit.Chem.Lipinski and
rdkit.Chem.MolSurf have been moved into C++. The python API is the
same, but the calculations should be somewhat faster.
- Extensive feature additions to the SWIG-based java wrapper.
- The Chem.ReplaceCore() function is now better suited for use
in R-group decomposition.
- The Morgan fingerprinting code can now return information about
which atoms set particular bits.
- The function pathToSubmol() now copies coordinate information
from conformations (if present). The function is also now available
from Python
- The path and subgraph finding code now takes an optional
rootedAtAtom argument to allow only paths/subgraphs that start at a
particular atom to be generated.
- The function findAtomEnvironmentOfRadiusN has been added to allow
circular atom environments to be located in molecules.
- MolOps::assignStereochemistry now can also flag potential
stereocenters that are not specified.
## New Database Cartridge Features:
- the descriptor-calculation functions mol_numrotatablebonds(),
mol_numheteroatoms(), mol_numrings(), and mol_tpsa() have been
added.
Deprecated modules (to be removed in next release):
Removed modules:
## Other:
- In C++, the functions CalcCrippenDescriptors and CalcAMW have been
renamed calcCrippenDescriptors and calcAMW to make them consistent
with the other descriptor calculators.
- The molecule serialization (pickling) format has been changed. The
new format is more compact.
# Release_2010.12.1
(Changes relative to Release_2010.09.1)
## IMPORTANT
- Due to changes made to the fingerprinting code, RDKit and layered
fingerprints generated with this release are not compatible with
those from previous releases. For users of the database cartridge:
you will need to re-generate RDKit fingerprint columns and any
indices on molecule tables.
## Acknowledgements:
- Eddie Cao, Andrew Dalke, James Davidson, Kirk DeLisle, Peter Gedeck,
TJ O'Donnell, Gianluca Sforna, Nik Stiefl, Riccardo Vianello
## Bug Fixes:
- The depiction code no longer crashes with single-atom templates
(issue 3122141)
- Aromatic bonds in the beginning of a SMILES branch are now
correctly parsed (issue 3127883)
- A crash when generating 2d constrained coordinates was fixed (issue
3135833)
- Stereochemistry no longer removed from double bonds in large
rings. (issue 3139534)
- Atom mapping information no longer in reaction products (issue
3140490)
- Smiles parse failure with repeated ring labels and dot disconnects
fixed (issue 3145697)
- a bug causing the molecule drawing code to not use the cairo canvas
when it's installed was fixed
- the SMILES generated for charged, aromatic Se or Te has been fixed
(issue 3152751)
- PropertyMols constructed from pickles and then written to SD files
will now include the properties in the SD file.
- SMILES can now be generated correctly for very large molecules
where more than 50 rings are open at once. (issue 3154028)
## New Features:
- All molecular descriptor calculators are now pulled in by the
rdkit.Chem.Descriptors module. So you can do things like:
Descriptors.MolLogP(mol) or Descriptors.fr_amide(mol)
- Atom-map numbers in SMILES are now supported. They can be accessed
as the atomic "molAtomMapNumber" property. (issue 3140494)
- It's now possible to tell the RDKit to generate non-canonical
SMILES via an optional argument to MolToSmiles. This is faster than
generating canonical SMILES, but is primarity intended for
debugging/testing. (issue 3140495)
- The function GenerateDepictionMatching2DStructure() has been added
to the rdkit.Chem.AllChem module to make generating
template-aligned depictions easier.
- Generating FCFP-like fingerprints is now more straightforward via
the useFeatures optional argument to GetMorganFingerprint()
- Extensive changes were made to the layered fingerprinting code to
allow better coverage of queries.
- Functionality for stripping common salts from molecules has been
added in rdkit.Chem.SaltRemover. The salts themselves are defined
in $RDBASE/Data/Salts.txt
- Functionality for recognizing common functional groups has been
added in rdkit.Chem.FunctionalGroups. The functional groups
themselves are defined in
$RDBASE/Data/Functional_Group_Hierarchy.txt
## New Database Cartridge Features:
- The cartridge now supports SMARTS queries.
- The functions is_valid_{smiles,smarts}() are now available
(issue 3097359).
- The operator @= is now supported for testing molecule equality.
(issue 3120707)
- The functions featmorgan_fp() and featmorganbv_fp() are now
available for generating FCFP-like fingerprints.
Deprecated modules (to be removed in next release):
- rdkit.Chem.AvailDescriptors : the same functionality is now available
in a more useable manner from rdkit.Chem.Descriptors (see above).
Removed modules:
## Other:
- RDKit support has been added to the Knime data mining and reporting
tool. More information is available from the knime.org community
site: http://tech.knime.org/community/rdkit
Thanks to Thorsten, Bernd, Michael, and the rest of the crew at
knime.com for making this possible.
- RPMs to allow easy installation of the RDKit on Fedora/CentOS/RHEL
and similar systems are now available. Thanks to Gianluca Sforna
for doing this work.
- The database cartridge now statically links the RDKit libraries.
This should make installation easier.
- The RDKit fingerprinter now by default sets 2 bits per hashed
subgraph instead of 4. The old behavior can be regained by setting
nBitsPerHash to 4.
# Release_2010.09.1
(Changes relative to Release_Q22010_1)
## IMPORTANT
- Due to changes made to the layered fingerprinting code,
fingerprints generated with this release are not compatible with
fingerprints from earlier releases.
- The default arguments to the Morgan fingerprinting code will yield
fingerprints that are not backwards compatible.
## Acknowledgements:
- Andrew Dalke, James Davidson, Paul Emsley, Peter Gedeck,
Uwe Hoffmann, Christian Kramer, Markus Kossner, TJ O'Donnell,
Gianluca Sforna, Nik Stiefl, Riccardo Vianello
## Bug Fixes:
- A typo in the parameters for the Crippen clogp calculator was
fixed. (issue 3057201)
- some problems in the layered fingerprinting code were fixed. (issue
3030388)
- a bug in the ring-finding code that could lead to incorrect results
or crashes in large molecules was fixed.
- the Murtagh clustering code should now execute correctly on recent
versions of the MacOS.
- some problems with the cairo canvas were fixed
- a problem with matching non-default isotope SSS queries for molecules
read in from CTABs was fixed (issue 3073163).
- a problem with calculating AMW for molecules with non-default isotopes
was fixed.
## New Features:
- a PostgreSQL cartridge for similarity and substructure searching
has been added to the RDKit distribution.
- The Morgan fingerprinting code accepts additional arguments that
control whether or not bond order and chirality are taken into
account. By default chirality is ignored and the bond order is
used. Another change with the MorganFPs is that ring information is
now included by default.
- 2D coordinates can now be generated for chemical reactions.
- The functions IsMoleculeReactantOfReaction and
IsMoleculeProductOfReaction have been added to the C++
interface. From python these are methods of the ChemicalReaction
class:
rxn.IsMoleculeReactant and rxn.IsMoleculeProduct
- The default bond length for depiction can now be changed.
- FCFP-like fingerprints can now be generated with the Morgan
fingerprinting code by starting with feature invariants.
- The close() method has been added to MolWriters.
- Morgan, atom-pair, and topological-torsion fingerprints can now
also be calculated as bit vectors.
- RDKit and layered fingerprints can now be generated using only
linear paths.
- the function findAllPathsOfLengthMtoN() was added
Deprecated modules (to be removed in next release):
Removed modules:
- rdkit/qtGui
- rdkit/RDToDo
- Projects/SDView
## Other:
- As of this release a new version numbering scheme is being used:
YYYY.MM.minor. An example, this release was done in Sept. of 2010
so it's v2010.09.1.
- the RDBASE environment variable is no longer required. It will be
used if set, but the code should work without it
- The directory Contrib/M_Kossner contains two new contributions from
Markus Kossner.
- A change was made to the subgraph matching code that speeds up
substructure searches involving repeated recursive queries.
- the deprecated registerQuery argument has been removed from the
substructure matching functions.
- the empty header files AtomProps.h and BondProps.h have been
removed.
- in order to simplify the build process the test databases are now
in svn
- some python functions to calculate descriptors (i.e. pyMolWt,
pyMolLogP, etc.) that have C++ equivalents have been removed to
clean up the interface
- the PIL canvas should no longer generate warnings
- Thanks to the help of Gianluca Sforna and Riccardo Vianello, it is
now much easier to package and distribute the RDKit.
- the bjam-based build system has been removed.
# Release_Q22010_1
(Changes relative to Release_Q12010_1)
## IMPORTANT
- There are a couple of refactoring changes that affect people using
the RDKit from C++. Please look in the ## Other section below for a list.
- If you are building the RDKit yourself, changes made in this
release require that you use a reasonably up-to-date version of
flex to build it. Please look in the ## Other section below for more
information.
## Acknowledgements:
- Andrew Dalke, James Davidson, Kirk DeLisle, Thomas Heller, Peter Gedeck,
Greg Magoon, Noel O'Boyle, Nik Stiefl,
## Bug Fixes:
- The depictor no longer generates NaNs for some molecules on
windows (issue 2995724)
- [X] query features work correctly with chiral atoms. (issue
3000399)
- mols will no longer be deleted by python when atoms/bonds returned
from mol.Get{Atom,Bond}WithIdx() are still active. (issue 3007178)
- a problem with force-field construction for five-coordinate atoms
was fixed. (issue 3009337)
- double bonds to terminal atoms are no longer marked as "any" bonds
when writing mol blocks. (issue 3009756)
- a problem with stereochemistry of double bonds linking rings was
fixed. (issue 3009836)
- a problem with R/S assignment was fixed. (issue 3009911)
- error and warning messages are now properly displayed when cmake
builds are used on windows.
- a canonicalization problem with double bonds incident onto aromatic
rings was fixed. (issue 3018558)
- a problem with embedding fused small ring systems was fixed.
(issue 3019283)
## New Features:
- RXN files can now be written. (issue 3011399)
- reaction smarts can now be written.
- v3000 RXN files can now be read. (issue 3009807)
- better support for query information in mol blocks is present.
(issue 2942501)
- Depictions of reactions can now be generated.
- Morgan fingerprints can now be calculated as bit vectors (as
opposed to count vectors.
- the method GetFeatureDefs() has been added to
MolChemicalFeatureFactory
- repeated recursive SMARTS queries in a single SMARTS will now be
recognized and matched much faster.
- the SMILES and SMARTS parsers can now be run safely in
multi-threaded code.
Deprecated modules (to be removed in next release):
- rdkit/qtGui
- Projects/SDView
Removed modules:
- SVD code: External/svdlibc External/svdpackc rdkit/PySVD
- rdkit/Chem/CDXMLWriter.py
## Other:
- The large scale changes in the handling of stereochemistry were
made for this release. These should make the code more robust.
- If you are building the RDKit yourself, changes made in this
release require that you use a reasonably up-to-date version of
flex to build it. This is likely to be a problem on Redhat, and
redhat-derived systems. Specifically: if your version of flex is
something like 2.5.4 (as opposed to something like 2.5.33, 2.5.34,
etc.), you will need to get a newer version from
http://flex.sourceforge.net in order to build the RDKit.
- Changes only affecting C++ programmers:
- The code for calculating topological-torsion and atom-pair
fingerprints has been moved from $RDBASE/Code/GraphMol/Descriptors
to $RDBASE/Code/GraphMol/Fingerprints.
- The naming convention for methods of ExplicitBitVect and
SparseBitVect have been changed to make it more consistent with
the rest of the RDKit.
- the bjam-based build system should be considered
deprecated. This is the last release it will be actively
maintained.
# Release_Q12010_1
(Changes relative to Release_Q42009_1)
## Acknowledgements:
- Andrew Dalke, Jean-Marc Nuzillard, Noel O'Boyle, Gianluca Sforna,
Nik Stiefl, Anna Vulpetti
## Bug Fixes
- Substantial improvements were made to the SLN parser
- A bad depiction case was fixed. (issue 2948402)
- Hs added to planar carbons are no longer in the same plane as the
other atoms. (issue 2951221)
- Elements early in the periodic table (e.g. Mg, Na, etc.) no longer
have their radical counts incorrectly assigned. (issue 2952255)
- Some improvements were made to the v3k mol file parser. (issue
2952272)
- Double bonds with unspecified stereochemistry are now correctly
flagged when output to mol files. (issue 2963522)
- A segmentation fault that occurred when kekulizing modified
molecules has been fixed. (issue 2983794)
## New Features
- The MaxMin diversity picker can now be given a seed for the random
number generator to ensure reproducible results.
## Other
- the vflib source, which is no longer used, was removed from the
External source tree. It's still available in svn at rev1323 or via
this tarball:
http://rdkit.svn.sourceforge.net/viewvc/rdkit/trunk/External/vflib-2.0.tar.gz?view=tar&pathrev=1323
- the directory Contrib has been added to the RDKit distribution to
house contributions that don't necessarily fit anywhere else. The
first contribution here is a collection of scripts required to
implement local-environment fingerprints contributed by Anna
Vulpetti.
- Some optimization work was done on the molecule initialization code:
reading in molecules is now somewhat faster.
- Some optimization work was done on the RDK and Layered fingerprinting code.
# Release_Q42009_1
(Changes relative to Release_Q32009_1)
## IMPORTANT
- A bug fix in the SMARTS parser has changed the way atom-map
numbers in Reaction SMARTS are parsed.
Earlier versions of the RDKit required that atom maps be
specified at the beginning of a complex atom query:
[CH3:1,NH2]>>[*:1]O
The corrected version only accepts this form:
[CH3,NH2:1]>>[*:1]O
This change may break existing SMARTS patterns.
- A switch to using cmake as the build system instead of bjam has
made the RDKit much easier to build.
## Acknowledgements
- Andrew Dalke, Kirk DeLisle, David Hall, Markus Kossner, Adrian
Schreyer, Nikolaus Stiefl, Jeremy Yang
## Bug Fixes
- the SMARTS parser now correctly requires tha atom-map numbers be
at the end of a complex atom query.
(issue 1804420)
- a bug in the way SMARTS matches are uniquified has been fixed
(issue 2884178)
## New Features
- The new SMARTS atomic query feature "x" (number of ring bonds) is
now supported.
- The proof-of-concept for a SWIG-based wrapper around the RDKit has
been expanded a bit in functionality. Samples are now included for
Java, C#, and Python.
- Information about the current RDKit and boost versions is now
available from C++ (file RDGeneral/versions.h) and Python
(rdBase.rdkitVersion and rdBase.boostVersion)
- The KNN code now supports weighted nearest-neighbors calculations
with a radius cutoff.
## Other
- The lapack dependency has been completely removed from the RDKit.
- The supported build system for the RDKit is now cmake
(http://www.cmake.org) instead of bjam. See the file INSTALL for
the new installation instructions. Files for bjam are still
included in the distribution but are deprecated and will be
removed in a future version.
# Release_Q32009_1
(Changes relative to Release_Q22009_1)
## IMPORTANT
- Due to bug fixes in the boost random-number generator, RDK
fingerprints generated with boost 1.40 are not backwards
compatible with those from earlier versions.
## Acknowledgements
- Uwe Hoffmann, Nik Stiefl, Greg Magoon, Ari Gold-Parker,
Akihiro Yokota, Kei Taneishi, Riccardo Vianello, Markus Kossner
## Bug Fixes
- the canonOrient argument to the depiction code now works
(issue 2821647)
- typo in the depictor 2D embedding code fixed
(issue 2822883)
- single aromatic atoms in chains now (correctly) fail sanitization
(issue 2830244)
- problem with embedding and fused rings fixed
(issue 2835784)
- crash when reading some large molecules fixed
(issue 2840217)
- trailing newline in TemplateExpand.py fixed
(issue 2867325)
- fingerprint incompatibility on 64bit machines fixed
(issue 2875658)
- PropertyMol properties are now written to SD files
(issue 2880943)
## New Features
- to the extent possible, reactions now transfer coordinates from
reactant molecules to product molecules (issue 2832951)
## Other
- the function DaylightFingerprintMol() has been removed
- the outdated support for Interbase has been removed
- the Compute2DCoords() function in Python now canonicalizes the
orientation of the molecule by default.
- the distance-geometry code should now generate less bad amide
conformations. (issue 2819563)
- the quality of distance-geometry embeddings for substituted- and
fused-ring systems should be better.
# Release_Q22009_1
(Changes relative to Release_Q12009_2)
## Acknowledgements
- Uwe Hoffmann, Marshall Levesque, Armin Widmer
## Bug Fixes
- handling of crossed bonds in mol files fixed (issue 2804599)
- serialization bug fixed (issue 2788233)
- pi systems with 2 electrons now flagged as aromatic (issue 2787221)
- Chirality swap on AddHs (issue 2762917)
- core leak in UFFOptimizeMolecule fixed (issue 2757824)
## New Features
- cairo support in the mol drawing code (from Uwe Hoffmann) (issue 2720611)
- Tversky and Tanimoto similarities now supported for SparseIntVects
- AllProbeBitsMatch supported for BitVect-BitVect comparisons
- ChemicalReactions support serialization (pickling) (issue 2799770)
- GetAtomPairFingerprint() supports minLength and maxLength arguments
- GetHashedTopologicalTorsionFingerprint() added
- preliminary support added for v3K mol files
- ForwardSDMolSupplier added
- CompressedSDMolSupplier added (not supported on windows)
- UFFHasAllMoleculeParams() added
- substructure searching code now uses an RDKit implementation of
the vf2 algorithm. It's much faster.
- Atom.GetPropNames() and Bond.GetPropNames() now available from
python
- BRICS code now supports FindBRICSBonds() and BreakBRICSBonds()
- atom labels Q, A, and * in CTABs are more correctly supported
(issue 2797708)
- rdkit.Chem.PropertyMol added (issue 2742959)
- support has been added for enabling and disabling logs
(issue 2738020)
## Other
- A demo has been added for using the MPI with the RDKit
($RDBASE/Code/Demos/RDKit/MPI).
- Embedding code is now better at handling chiral structures and
should produce results for molecules with atoms that don't have
UFF parameters.
- the UFF code is more robust w.r.t. missing parameters
- GetHashedAtomPairFingerprint() returns SparseIntVect instead of
ExplicitBitVect
- the CTAB parser (used for mol files and SD files) is faster
- extensive changes to the layered fingerprinting code;
fingerprinting queries is now possible
- molecule discriminator code moved into $RDBASE/Code/GraphMol/Subgraphs
- the SDView4 prototype has been expanded
- $RDBASE/Regress has been added to contain regression and
benchmarking data and scripts.
- support for sqlalchemy has been added to $RDBASE/rdkit/Chem/MolDb
- $RDBASE/Projects/DbCLI/SDSearch.py has been removed; use the
CreateDb.py and SearchDb.py scripts in the same directory instead.
- the BRICS code has been refactored
# Release_Q12009_2
(Changes relative to Release_Q42008_1)
## IMPORTANT
- The directory structure of the distribution has been changed in
order to make installation of the RDKit python modules more
straightforward. Specifically the directory $RDBASE/Python has been
renamed to $RDBASE/rdkit and the Python code now expects that
$RDBASE is in your PYTHONPATH. When importing RDKit Python modules,
one should now do: "from rdkit import Chem" instead of "import
Chem". Old code will continue to work if you also add $RDBASE/rdkit
to your PYTHONPATH, but it is strongly suggested that you update
your scripts to reflect the new organization.
- For C++ programmers: There is a non-backwards compatible change in
the way atoms and bonds are stored on molecules. See the *## Other*
section for details.
## Acknowledgements
- Kirk DeLisle, Noel O'Boyle, Andrew Dalke, Peter Gedeck, Armin Widmer
## Bug Fixes
- Incorrect coordinates from mol2 files (issue 2727976)
- Incorrect handling of 0s as ring closure digits (issues 2525792,
and 2690982)
- Incorrect handling of atoms with explicit Hs in reactions (issue 2540021)
- SmilesMolSupplier.GetItemText() crashes (issue 2632960)
- Incorrect handling of dot separations in reaction SMARTS (issue 2690530)
- Bad charge lines in mol blocks for large molecules (issue 2692246)
- Order dependence in AssignAtomChiralTagsFromStructure (issue 2705543)
- Order dependence in the 2D pharmacophore code
- the LayeredFingerprints now handle non-aromatic single ring bonds
between aromatic atoms correctly.
## New Features
- BRICS implementation
- Morgan/circular fingerprints implementation
- The 2D pharmacophore code now uses standard RDKit fdef files.
- Atom parity information in CTABs now written and read. If present
on reading, atom parity flags are stored in the atomic property
"molParity".
- An optional "fromAtoms" argument has been added to the atom pairs
and topological torsion fingerprints. If this is provided, only atom
pairs including the specified atoms, or torsions that either start
or end at the specified atoms, will be included in the fingerprint.
- Kekulization is now optional when generating CTABs. Since the MDL
spec suggests that aromatic bonds not be used, this is primarily
intended for debugging purposes.
- the removeStereochemistry() (RemoveStereoChemistry() from Python)
function has been added to remove all stereochemical information
from a molecule.
## Other
- The Qt3-based GUI functionality in $RDBASE/rdkit/qtGui and
$RDBASE/Projects/SDView is deprecated. It should still work, but it
will be removed in a future release. Please do not build anything
new on this (very old and creaky) framework.
- The function DaylightFingerprintMol() is now deprecated, use
RDKFingerprintMol() instead.
- For C++ programmers: The ROMol methods getAtomPMap() and
getBondPMap() have been removed. The molecules themselves now support
an operator[]() method that can be used to convert graph iterators
(e.g. ROMol:edge_iterator, ROMol::vertex_iterator,
ROMol::adjacency_iterator) to the corresponding Atoms and Bonds.
New API for looping over an atom's bonds:
... molPtr is a const ROMol * ...
... atomPtr is a const Atom * ...
ROMol::OEDGE_ITER beg,end;
boost::tie(beg,end) = molPtr->getAtomBonds(atomPtr);
while(beg!=end){
const BOND_SPTR bond=(*molPtr)[*beg];
... do something with the Bond ...
++beg;
}
New API for looping over a molecule's atoms:
... mol is an ROMol ...
ROMol::VERTEX_ITER atBegin,atEnd;
boost::tie(atBegin,atEnd) = mol.getVertices();
while(atBegin!=atEnd){
ATOM_SPTR at2=mol[*atBegin];
... do something with the Atom ...
++atBegin;
}
# Release_Q42008_1
(Changes relative to Release_Q32008_1)
## IMPORTANT
- A fix in the handling of stereochemistry in rings means that the
SMILES generated with this release are different from those in
previous releases. Note that the canonicalization algorithm does
not work in cases of pure ring stereochemistry : the SMILES should
be correct, but it is not canonical. Rings containing chiral
centers should be fine.
## Acknowledgements:
- Kirk DeLisle, Markus Kossner, Greg Magoon, Nik Stiefl
## Bug Fixes
- core leaks in learning code (issue 2152622)
- H-bond acceptor definitions (issue 2183240)
- handling of aromatic dummies (issue 2196817)
- errors in variable quantization (issue 2202974)
- errors in information theory functions on 64 bit machines (issue 2202977)
- kekulization problems (issue 2202977)
- infinite loop in getShortestPaths() for disconnected structures (issue 2219400)
- error in depictor for double bonds with stereochemistry connected
to rings (issue 2303566)
- aromaticity flags not copied to null atoms in reaction products
(issue 2308128)
- aromaticity perception in large molecule hangs (issue 2313979)
- invariant error in canonicalization (issue 2316677)
- mol file parser handling of bogus bond orders (issue 2337369)
- UFF optimization not terminating when atoms are on top of each
other (issue 2378119)
- incorrect valence errors with 4 coordinate B- (issue 2381580)
- incorrect parsing of atom-list queries with high-numbered atoms
(issue 2413431)
- MolOps::mergeQueryHs() crashing with non-query molecules. (issue
2414779)
## New Features
- SLN parser (request 2136703).
- Mol2 parser : Corina atom types (request 2136705).
- Building under mingw (request 2292153).
- Null bonds in reaction products are replaced with the corresponding
bond from the reactants (request 2308123).
## Other
- a bunch of deprecation warnings from numpy have been cleaned up
(issue 2318431)
- updated documentation
- some optimization work on the fingerprinter
# Release_Q32008_1
(Changes relative to Release_May2008_1)
## Acknowledgements:
- Noel O'Boyle, Igor Filippov, Evgueni Kolossov, Greg Magoon
## Bug Fixes
- A memory leak in the ToBase64 and FromBase64 wrapper functions was
fixed.
- The UFF atom typer has been made more permissive: it now will pick
"close" atom types for things it does not recognize. (issue
2094445)
- The handling of molecules containing radicals has been greatly
improved (issues 2091839, 2091890, 2093420)
- Iterative (or secondary, or dependent) chirality is now supported,
see this page for more information:
http://code.google.com/p/rdkit/wiki/IterativeChirality
(issue 1931470)
- Isotope handling has been changed, this allows correct matching of
SMARTS with specified isotopes. (issue 1968930)
- Some problems with the MACCS key definitions have been
fixed. (issue 2027446)
- Molecules with multiple fragments can now be correctly
embedded. (issue 1989539)
- Adding multiple bonds between the same atoms in a molecule now
produces an error. (issue 1993296)
- The chemical reaction code now handles chiral atoms correctly in
when applying reactions with no stereochem information
provided. (issue 2050085)
- A problem with single-atom cores in TemplateExpand.py has been
fixed. (issue 2091304)
- A problem causing bicyclobutane containing molecules to not be
embeddable has been fixed. (issue 2091864)
- The default parameters for embedding are now molecule-size
dependent. This should help with the embedding of large, and
crowded molecules. (issue 2091974)
- The codebase can now be built with boost 1.36. (issue 2071168)
- A problem with serialization of bond directions was fixed.
(issue 2113433)
## New Features
- The RDKit can now be built under Darwin (Mac OS/X).
- Tversky similarity can now be calculated. (request 2015633)
- Many of the core datastructures now support equality comparison
(operator==). (request 1997439)
- Chirality information can now be assigned based on the 3D
coordinates of a molecule using
MolOps::assignChiralTypesFrom3D(). (request 1973062)
- MolOps::getMolFrags() can now return a list of split molecules
instead of just a list of atom ids. (request 1992648)
- ROMol::getPropNames() now supports the includePrivate and
includeComputed options. (request 2047386)
## Other
- the pointers returned from Base64Encode/Decode are now allocated
using new instead of malloc or calloc. the memory should be
released with delete[].
- the generation of invariants for chirality testing is now quite a
bit faster; this results in faster parsing of molecules.
- The use of C include files instead of their C++ replacements has
been dramatically reduced.
- The new (as of May2008) hashing algorithm for fingerprints is now
the default in the python fingerprinting code
(Chem.Fingerprints.FingerprintMols).
- The functions MolOps::assignAtomChiralCodes() and
MolOps::assignBondStereoCodes() are deprecated. Use
MolOps::assignStereochemistry() instead.
- The RDKit no longer uses the old numeric python library. It now
uses numpy, which is actively supported.
- By default Lapack++ is no longer used. The replacement is the boost
numeric bindings: http://mathema.tician.de/software/boost-bindings.
# Release_May2008_1
(Changes relative to Release_Jan2008_1)
## IMPORTANT
- A fix to the values of the parameters for the Crippen LogP
calculator means that the values calculated with this version are
not backwards compatible. Old values should be recalculated.
- topological fingerprints generated with this version *may* not be
compatible with those from earlier versions. Please read the note
below in the "## Other" section.
- Please read the point about dummy atoms in the "## New Features"
section. It explains a change that affects backwards compatibility
when dealing with dummy atoms.
## Acknowledgements:
- Some of the bugs fixed in this release were found and reported by
Adrian Schreyer, Noel O'Boyle, and Markus Kossner.
## Bug Fixes
- A core leak in MolAlign::getAlignmentTransform was fixed (issue
1899787)
- Mol suppliers now reset the EOF flag on their stream after they run
off the end (issue 1904170)
- A problem causing the string "Sc" to not parse correctly in
recursive SMARTS was fixed (issue 1912895)
- Combined recursive smarts queries are now output correctly.
(issue 1914154)
- A bug in the handling of chirality in reactions was fixed (issue
1920627)
- Looping directly over a supplier no longer causes a crash (issue
1928819)
- a core leak in the smiles parser was fixed (issue 1929199)
- Se and Te are now potential aromatic atoms (per the proposed
OpenSmiles standard). (issue 1932365)
- isotope information (and other atomic modifiers) are now correctly
propagated by chemical reactions (issue 1934052)
- triple bonds no longer contribute 2 electrons to the count for
aromaticity (issue 1940646)
- Two bugs connected with square brackets in SMILES were fixed
(issues 1942220 and 1942657)
- atoms with coordination numbers higher than 4 now have tetrahedral
stereochemistry removed (issue 1942656)
- Bond.SetStereo() is no longer exposed to Python (issue 1944575)
- A few typos in the parameter data for the Crippen logp calculator
were fixed. Values calculated with this version should be assumed
to not be backwards compatible with older versions (issue 1950302)
- Isotope queries are now added correctly (if perhaps not optimally)
to SMARTS.
- some drawing-related bugs have been cleared up.
- A bug in Chem.WedgeMolBonds (used in the drawing code) that was
causing incorrect stereochemistry in drawn structures was
fixed. (issue 1965035)
- A bug causing errors or crashes on Windows with [r<n>] queries was
fixed. (issue 1968930)
- A bug in the calculation of TPSA values in molecules that have Hs
in the graph was fixed. (issue 1969745)
## New Features
- Support for supplying dummy atoms as "[Du]", "[X]", "[Xa]", etc. is
now considered deprecated. In this release a warning will be
generated for these forms and in the next release the old form will
generate errors. Note that the output of dummy atoms has also
changed: the default output format is now "*", this means that the
canonical SMILES for molecules containing dummies are no longer
compatible with the canonical SMILES from previous releases.
(feature request 186217)
- Atom and bond query information is now serializable; i.e. query
molecules can now be pickled and not lose the query
information. (feature request 1756596)
- Query features from mol files are now fully supported. (feature
request 1756962)
- Conformations now support a dimensionality flag. Dimensionality
information is now read from mol blocks and TDT files. (feature request
1906758)
- Bulk Dice similarity functions have been added for IntSparseIntVect
and LongSparseIntVect (feature request 1936450)
- Exceptions are no longer thrown during molecule parsing. Failure in
molecule parsing is indicated by returning None. Failure to *open* a
file when reading a molecule throws BadFileExceptions (feature
requests 1932875 and 1938303)
- The various similarity functions for BitVects and SparseIntVects
now take an optional returnDistance argument. If this is provided,
the functions return the corresponding distance instead of
similarity.
- Some additional query information from Mol files is now translated
when generating SMARTS. Additional queries now translated:
- number of ring bonds
- unsaturation queries
- atom lists are handled better as well
(feature request 1902466)
- A new algorithm for generating the bits for topological
fingerprints has been added. The new approach is a bit quicker and
more robust than the old, but is not backwards compatible.
Similarity trends are more or less conserved.
- The molecule drawing code in Chem.Draw.MolDrawing has been modified
so that it creates better drawings. A new option for drawing that
uses the aggdraw graphics library has been added.
- The RingInfo class supports two new methods: AtomRings() and
BondRings() that return tuples of tuples with indices of the atoms
or bonds that make up the molecule's rings.
## Other
- Changes in the underlying boost random-number generator in version
1.35 of the boost library may have broken backwards compatibility
of 2D fingerprints generated using the old fingerprinter. It is
strongly suggested that you regenerate any stored fingerprints (and
switch to the new fingerprinter if possible). There is an explicit
test for this in $RDBASE/Code/GraphMol/Fingerprints/test1.cpp
- The unofficial and very obsolete version of John Torjo's v1
boost::logging library that was included with the RDKit
distribution is no longer used. The logging library has been
replaced with the much less powerful and flexible approach of just
sending things to stdout or stderr. If and when the logging library
is accepted into Boost, it will be integrated.
- The DbCLI tools (in $RDBASE/Projects/DbCLI) generate topological
fingerprints using both the old and new algorithms (unless the
--noOldFingerprints option is provided). The default search
uses the newer fingerprint.
- The directory $RDBASE/Data/SmartsLib contains a library of sample
SMARTS contributed by Richard Lewis.
# Release_Jan2008_1
(Changes relative to Release_Aug2007_1)
## IMPORTANT
- Bug fixes in the canonicalization algorithm have made it so that
the canonical SMILES from this version are not compatible with
those from older versions of the RDKit.
- Please read the point about dummy atoms in the "## New Features"
section. It explains a forthcoming change that will affect
backwards compatibility when dealing with dummy atoms.
- The build system has been completely changed. Makefiles and Visual
Studio project files have been removed. See the "## Other" section for
more info.
## Acknowledgements:
- Adrian Schreyer uncovered and reported a number of the bugs fixed
in this release.
## Bug Fixes
- the Recap code no longer generates illegal fragments for
highly-branched atoms. (issue 1801871)
- the Recap code no longer breaks cyclic bonds to N
(issue 1804418)
- A bug in the kekulization of aromatic nitrogens has been fixed
(issue 1811276)
- Bugs in the Atom Type definitions for polar carbons and positive
nitrogens in BaseFeatures.fdef have been fixed. (issue 1836242)
- A crash in the sanitization of molecules that only have degree 4
atoms has been fixed; it now generates an exception. The underlying
problem with ring-finding in these systems is still present. (issue
1836576)
- Mol files for molecules that have more than 99 atoms or bonds are
no longer incorrectly generated. (issue 1836615)
- Problems with the sping PIL and PDF canvases have been cleared
up. The PIL canvas still generates a lot of warnings, but the
output is correct.
- The query "rN" is now properly interpreted to be "atom whose
smallest ring is of size N" in SMARTS queries. It was previously
interpreted as "atom is in a ring of size N". (issue 1811276)
This change required that the default feature definitions for
aromaticity and lumped hydrophobes be updated.
- The MolSuppliers (SDMolSupplier, TDTMolSupplier, SmilesMolSupplier)
no longer fail when reading the last element. (issue 1874882)
- A memory leak in the constructor of RWMols was fixed.
- A problem causing rapid memory growth with Recap analysis was fixed.
(issue 1880161)
- The Recap reactions are no longer applied to charged Ns or Os
(issue 1881803)
- Charges, H counts, and isotope information can now be set in
reactions. (issue 1882749)
- The stereo codes from double bonds (used for tracking cis/trans)
are now corrected when MolOps::removeHs is called. (issue 1894348)
- Various small code cleanups and edge case fixes were done as a
result of things discovered while getting the VC8 build working.
## New Features
- The SparseIntVect class (used by the atom pairs and topological
torsions) is now implemented in C++.
- The package $RDKit/Python/Chem/MolDb has been added to help deal
with molecular databases. (this was intended for the August release
and overlooked)
- The module $RDKit/Python/Chem/FastSDMolSupplier has been added to
provide a fast (at the expense of memory consumption) class for
working with SD files. (this was intended for the August release
and overlooked)
- A new directory $RDKit/Projects has been created to hold things
that don't really fit in the existing directory structure.
- The new project $RDKit/Projects/DbCLI has been added. This contains
command-line scripts for populating molecular database and
searching them using substructure or similarity.
- The code for calculating some descriptors has been moved into C++
in the new module Chem.rdMolDescriptors. The C++ implementation is
considerably faster than the Python one and should be 100%
backwards compatible.
- The MaxMinPicker (in Code/SimDivPickers) supports two new options:
1) the user can provide a set of initial picks and the algorithm
will pick new items that are diverse w.r.t. to those
2) the user can provide a function to calculate the distance matrix
instead of calculating it in advance. This saves the N^2 step of
calculating the distance matrix.
- A new piece of code demo'ing the use of the RDKit to add chemical
functionality to SQLite is in Code/Demos/sqlite. This will
eventually move from Demos into Code/sqlite once some more
functionality has been added and more testing is done.
- The distance geometry embedding code now supports using random
initial coordinates for atoms instead of using the eigenvalues of
the distance matrix. The default behavior is still to use the
eigenvalues of the distance matrix.
- The function Recap.RecapDecompose now takes an optional argument
where the user can specify the minimum size (in number of atoms)
of a legal fragment. (feature request 180196)
- Dummy atoms can be expressed using asterixes, per the Daylight spec.
Dummy atoms are also now legal members of aromatic systems (e.g.
c1cccc*1 is a legal molecule). Support for supplying dummy atoms
as "[Du]", "[X]", "[Xa]", etc. is now considered deprecated. In
the next release a warning will be generated for these forms and
in the release after that the old form will generate errors. Note
that the output of dummy atoms will also change: in the next release
the default output format will be "*".
(feature request 186217)
- A proof of concept for doing a SWIG wrapper of RDKit functionality
has been added in: $RDBASE/Code/Demos/SWIG/java_example. This isn't
even remotely production-quality; it's intended to demonstrate that
the wrapping works and isn't overly difficult.
## Other
- The full set of tests is now easier to setup and run on new
machines. (issue 1757265)
- A new build system, using Boost.Build, has been put into place on
both the windows and linux sides. The new system does much better
dependency checking and handles machine-specific stuff a lot
better. The new system has been tested using Visual Studio 2003,
Visual Studio Express 2005, Ubuntu 7.10, and RHEL5.
- The "Getting Started in Python" document has been expanded.
- There's now an epydoc config file for building the python
documentation ($RDBASE/Python/epydoc.config).
# Release_Aug2007_1
(Changes relative to Release_April2007_1)
## Bug Fixes
- operators and SparseIntVects. (issue 1716736)
- the Mol file parser now calculates cis/trans labels for double
bonds where the two ends had the same substituents. (issue 1718794)
- iterator interface to DiscreteValueVects and UniformGrid3D. (issue
1719831)
- improper removal of stereochemistry from ring atoms (issue
1719053)
- stereochemistry specifications and ring bonds. (issue 1725068)
- handling of aromatic bonds in template molecules for chemical
reactions. (issue 1748846)
- handling of unrecognized atom types in the descriptor calculation
code. (issue 1749494)
- ChemicalReactionException now exposed to Python. (issue 1749513)
- some small problems in topological torsions and atom pairs
## New Features
- The Atom Pairs and Topological Torsions code can now provide
"explanations" of the codes. See $RDBASE/Python/Chem/AtomPairs for
details.
- The PointND class has been exposed to Python
- The "Butina" clustering algorithm [JCICS 39:747-50 (1999)] is now
available in $RDBase/Python/Ml/Cluster/Butina.py
- A preliminary implementation of the subshape alignment algorithm is
available.
- The free version of MS Visual C++ is now supported.
- There is better support for queries in MDL mol files. (issue 1756962)
Specifically: ring and chain bond queries; the not modifier for
atom lists; R group labels.
- An EditableMol class is now exposed to Python to allow molecules to
be easily edited. (issue 1764162)
- The RingInfo class is now exposed to Python.
- The replaceSidechains and replaceCore functions have been added
in the ChemTransforms library and are exposed to Python as
Chem.ReplaceSidechains and Chem.ReplaceCore.
- pickle support added to classes: PointND
- atoms and bonds now support the HasQuery() and GetSmarts() methods
from Python.
## Other
- Similarity scores can now be calculated from Python in bulk
(i.e. calculating the similarity between one vector and a list of
others). This can be substantially faster than calling the
individual routines multiple times. The relevant functions are
BulkTanimotoSimilarity, BulkDiceSimilarity, etc.
- The calculation of AtomPairs and TopologicalTorsions fingerprints
is now a lot more efficient.
- Optimization of the Dice metric implementation for SparseIntVects
- The Visual Studio build files have been moved to the directories
$RDBASE/Code/Build.VC71 and $RDBASE/Code/Build.VC80. This allows
simultaneous support of both versions of the system and cleans up
the source trees a bit.
- Boost version 1.34 is now supported (testing has been done on 1.34 and 1.34.1).
- Updates to the "Getting Started" documentation.
# Release_April2007_1
(Changes relative to Release_Jan2007_1)
## Bug Fixes
- handing of isotope information in SMILES has been fixed
- "implicit" hydrogens are now added to charged atoms explicitly when
writing SMILES. (issue 1670149)
- the 2D->3D code no longer generates non-planar conjugated 4-rings
(e.g. C1=CC=C1). (issue 1653802)
- removing explicit hydrogens no longer produces incorrect smiles
(issue 1694023)
- bit indices and signature lengths in the AtomPairs code no longer
being calculated incorrectly. *NOTE* this changes the bits that are
set, so if you have existing signatures, they will need to be
regenerated.
- Fixed a bug causing MolSuppliers to generate incorrect length
information when a combination of random access and iterator
interfaces are used. (issue 1702647)
- Fixed a bug leading to incorrect line numbers in error messages
from the SDMolSuppler. (issue 1695221)
## New Features
- chemical reactions are now supported
- there is a new entry point into the 2D depictor code,
compute2DCoordsMimicDistMat(), that attempts to generate 2D
depictions that are similar to the structure described by the
distance matrix. There's also a shorthand approach for calling this
to mimic a 3D structure available as:
AllChem.GenerateDepictionMatching3DStructure()
- DiscreteValueVect and UniformGrid3D now support the binary
operators |, &, +, and -.
- a reader/writer for TPL files has been added.
- support has been added for MolCatalogs: hierarchical catalogs that
can store complete molecules.
- the protrude distance metric for shapes has been added
- pickle support added to classes: UniformGrid, DiscreteValueVect,
Point
- added the class DataStructs/SparseIntVect to improve performance
and clarity of the AtomPairs code
## Other
- the non-GUI code now supports python2.5; the GUI code may work with
python2.5, but that has not been tested
- the Mol and SD file parsers have been sped up quite a bit.
- the "Crippen" descriptors are now calculated somewhat faster.
- in-code documentation updates
- new documentation for beginners in $RDBASE/Docs/Book
# Release_Jan2007_1
(Changes relative to Release_Oct2006_1)
## Bug Fixes
- zero-atom molecules now trigger an exception
- dummy atoms are no longer labelled 'Xe'
- core leak in the mol file writer fixed
- mol files with multiple charge lines are now correctly parsed
- a workaround was installed to prevent crashes in the regression
tests on Windows when using the newest VC++ v7 series compiler.
(http://sourceforge.net/tracker/index.php?func=detail&aid=1607290&group_id=160139&atid=814650)
- chirality perception (which requires partial sanitization) is no
longer done by the MolFileParser when sanitization is switched
off.
- Two potential memory corruption problems were fixed (rev's 150 and
151).
## New Features
- optional use of chirality in substructure searches
- MolWriters can now all take a stream as an argument
- Chiral terms can now be included in the DistanceGeometry
embedding.
## Other
- $RDBASE/Code/Demos/RDKit/BinaryIO is a demonstration of using
boost IOStreams and the ROMol pickling mechanism to generate
highly compressed, random-access files of molecules.
- the Point code has been refactored
|