|
24 | 24 | }, |
25 | 25 | "outputs": [], |
26 | 26 | "source": [ |
27 | | - "import logging\n", |
28 | 27 | "import pathlib\n", |
29 | | - "import warnings\n", |
30 | 28 | "\n", |
31 | 29 | "import pandas as pd\n", |
32 | 30 | "\n", |
33 | 31 | "from cytodataframe.frame import CytoDataFrame\n", |
34 | 32 | "\n", |
35 | | - "logging.basicConfig(level=logging.INFO) # or logging.DEBUG, WARNING, etc.\n", |
36 | | - "logging.getLogger().setLevel(logging.INFO) # Ensures root logger is set\n", |
37 | | - "\n", |
38 | | - "\n", |
39 | | - "# filter warnings from skimage about imageio\n", |
40 | | - "warnings.filterwarnings(\n", |
41 | | - " \"ignore\",\n", |
42 | | - " message=r\"The plugin infrastructure.*\",\n", |
43 | | - " category=FutureWarning,\n", |
44 | | - ")\n", |
45 | | - "\n", |
46 | 33 | "# create paths for use with CytoDataFrames below\n", |
47 | 34 | "jump_data_path = \"../../../tests/data/cytotable/JUMP_plate_BR00117006\"\n", |
48 | 35 | "nf1_cellpainting_path = \"../../../tests/data/cytotable/NF1_cellpainting_data_shrunken/\"\n", |
|
62 | 49 | "name": "stdout", |
63 | 50 | "output_type": "stream", |
64 | 51 | "text": [ |
65 | | - "CPU times: user 959 ms, sys: 631 ms, total: 1.59 s\n", |
66 | | - "Wall time: 791 ms\n" |
| 52 | + "CPU times: user 941 ms, sys: 713 ms, total: 1.65 s\n", |
| 53 | + "Wall time: 525 ms\n" |
67 | 54 | ] |
68 | 55 | }, |
69 | 56 | { |
70 | 57 | "data": { |
71 | 58 | "application/vnd.jupyter.widget-view+json": { |
72 | | - "model_id": "03687f56dc5d45eeb046747ae2bed0ff", |
| 59 | + "model_id": "2b016f7850e74f50a576f54ccd297830", |
73 | 60 | "version_major": 2, |
74 | 61 | "version_minor": 0 |
75 | 62 | }, |
|
188 | 175 | "name": "stdout", |
189 | 176 | "output_type": "stream", |
190 | 177 | "text": [ |
191 | | - "CPU times: user 993 ms, sys: 716 ms, total: 1.71 s\n", |
192 | | - "Wall time: 509 ms\n" |
| 178 | + "CPU times: user 944 ms, sys: 723 ms, total: 1.67 s\n", |
| 179 | + "Wall time: 505 ms\n" |
193 | 180 | ] |
194 | 181 | }, |
195 | 182 | { |
196 | 183 | "data": { |
197 | 184 | "application/vnd.jupyter.widget-view+json": { |
198 | | - "model_id": "ff776f0537f24a9291b0f18c2a26a2b4", |
| 185 | + "model_id": "6add24880e464fd799e123d3524df407", |
199 | 186 | "version_major": 2, |
200 | 187 | "version_minor": 0 |
201 | 188 | }, |
|
312 | 299 | "name": "stdout", |
313 | 300 | "output_type": "stream", |
314 | 301 | "text": [ |
315 | | - "CPU times: user 978 ms, sys: 705 ms, total: 1.68 s\n", |
316 | | - "Wall time: 508 ms\n" |
| 302 | + "CPU times: user 916 ms, sys: 696 ms, total: 1.61 s\n", |
| 303 | + "Wall time: 491 ms\n" |
317 | 304 | ] |
318 | 305 | }, |
319 | 306 | { |
320 | 307 | "data": { |
321 | 308 | "application/vnd.jupyter.widget-view+json": { |
322 | | - "model_id": "852219d6f8d2469d80cea9e4118f1897", |
| 309 | + "model_id": "9cc9cdc816c248ef9674bf17ecbf425f", |
323 | 310 | "version_major": 2, |
324 | 311 | "version_minor": 0 |
325 | 312 | }, |
|
438 | 425 | "name": "stdout", |
439 | 426 | "output_type": "stream", |
440 | 427 | "text": [ |
441 | | - "CPU times: user 983 ms, sys: 709 ms, total: 1.69 s\n", |
442 | | - "Wall time: 512 ms\n" |
| 428 | + "CPU times: user 892 ms, sys: 648 ms, total: 1.54 s\n", |
| 429 | + "Wall time: 489 ms\n" |
443 | 430 | ] |
444 | 431 | }, |
445 | 432 | { |
446 | 433 | "data": { |
447 | 434 | "application/vnd.jupyter.widget-view+json": { |
448 | | - "model_id": "fd7cf9633a454cec839a426b39d24ab9", |
| 435 | + "model_id": "68c66e5966784cf986fae4d4115c2541", |
449 | 436 | "version_major": 2, |
450 | 437 | "version_minor": 0 |
451 | 438 | }, |
|
573 | 560 | "name": "stdout", |
574 | 561 | "output_type": "stream", |
575 | 562 | "text": [ |
576 | | - "CPU times: user 972 ms, sys: 686 ms, total: 1.66 s\n", |
577 | | - "Wall time: 494 ms\n" |
| 563 | + "CPU times: user 951 ms, sys: 706 ms, total: 1.66 s\n", |
| 564 | + "Wall time: 515 ms\n" |
578 | 565 | ] |
579 | 566 | }, |
580 | 567 | { |
581 | 568 | "data": { |
582 | 569 | "application/vnd.jupyter.widget-view+json": { |
583 | | - "model_id": "c8110e3b5aa2487787b787675c2240a3", |
| 570 | + "model_id": "0ad5469211d34833a1e9423d55fb0d16", |
584 | 571 | "version_major": 2, |
585 | 572 | "version_minor": 0 |
586 | 573 | }, |
|
697 | 684 | "name": "stdout", |
698 | 685 | "output_type": "stream", |
699 | 686 | "text": [ |
700 | | - "CPU times: user 952 ms, sys: 657 ms, total: 1.61 s\n", |
701 | | - "Wall time: 501 ms\n" |
| 687 | + "CPU times: user 938 ms, sys: 676 ms, total: 1.61 s\n", |
| 688 | + "Wall time: 497 ms\n" |
702 | 689 | ] |
703 | 690 | }, |
704 | 691 | { |
705 | 692 | "data": { |
706 | 693 | "application/vnd.jupyter.widget-view+json": { |
707 | | - "model_id": "892699793f5744768db8c4b714410896", |
| 694 | + "model_id": "7f888032d36647b8a4f3288feda73dcb", |
708 | 695 | "version_major": 2, |
709 | 696 | "version_minor": 0 |
710 | 697 | }, |
|
823 | 810 | "name": "stdout", |
824 | 811 | "output_type": "stream", |
825 | 812 | "text": [ |
826 | | - "CPU times: user 1e+03 ms, sys: 715 ms, total: 1.71 s\n", |
827 | | - "Wall time: 522 ms\n" |
| 813 | + "CPU times: user 905 ms, sys: 635 ms, total: 1.54 s\n", |
| 814 | + "Wall time: 509 ms\n" |
828 | 815 | ] |
829 | 816 | }, |
830 | 817 | { |
831 | 818 | "data": { |
832 | 819 | "application/vnd.jupyter.widget-view+json": { |
833 | | - "model_id": "cc5eed6584f145ee93a9cd0eb774c192", |
| 820 | + "model_id": "79b365d8a5714d20af75dc1a3738a3b1", |
834 | 821 | "version_major": 2, |
835 | 822 | "version_minor": 0 |
836 | 823 | }, |
|
948 | 935 | "name": "stdout", |
949 | 936 | "output_type": "stream", |
950 | 937 | "text": [ |
951 | | - "CPU times: user 891 ms, sys: 569 ms, total: 1.46 s\n", |
952 | | - "Wall time: 491 ms\n" |
| 938 | + "CPU times: user 889 ms, sys: 650 ms, total: 1.54 s\n", |
| 939 | + "Wall time: 485 ms\n" |
953 | 940 | ] |
954 | 941 | }, |
955 | 942 | { |
956 | 943 | "data": { |
957 | 944 | "application/vnd.jupyter.widget-view+json": { |
958 | | - "model_id": "dbd47ac95760490db5504afbc27c431f", |
| 945 | + "model_id": "0b9c28b02db44ce187f6830422c5cda5", |
959 | 946 | "version_major": 2, |
960 | 947 | "version_minor": 0 |
961 | 948 | }, |
|
1090 | 1077 | "name": "stdout", |
1091 | 1078 | "output_type": "stream", |
1092 | 1079 | "text": [ |
1093 | | - "CPU times: user 965 ms, sys: 678 ms, total: 1.64 s\n", |
1094 | | - "Wall time: 499 ms\n" |
| 1080 | + "CPU times: user 890 ms, sys: 653 ms, total: 1.54 s\n", |
| 1081 | + "Wall time: 491 ms\n" |
1095 | 1082 | ] |
1096 | 1083 | }, |
1097 | 1084 | { |
1098 | 1085 | "data": { |
1099 | 1086 | "application/vnd.jupyter.widget-view+json": { |
1100 | | - "model_id": "0c6f0024a7c44d7c9fe68128f1b0606d", |
| 1087 | + "model_id": "d957d909601243d5932444525ed46482", |
1101 | 1088 | "version_major": 2, |
1102 | 1089 | "version_minor": 0 |
1103 | 1090 | }, |
|
1239 | 1226 | "name": "stdout", |
1240 | 1227 | "output_type": "stream", |
1241 | 1228 | "text": [ |
1242 | | - "CPU times: user 303 ms, sys: 193 ms, total: 497 ms\n", |
1243 | | - "Wall time: 179 ms\n" |
| 1229 | + "CPU times: user 293 ms, sys: 198 ms, total: 492 ms\n", |
| 1230 | + "Wall time: 173 ms\n" |
1244 | 1231 | ] |
1245 | 1232 | }, |
1246 | 1233 | { |
1247 | 1234 | "data": { |
1248 | 1235 | "application/vnd.jupyter.widget-view+json": { |
1249 | | - "model_id": "104456efdfd44add97e1c5db1bd330d5", |
| 1236 | + "model_id": "fd1e6fc031f340b8ad18b159877c3c04", |
1250 | 1237 | "version_major": 2, |
1251 | 1238 | "version_minor": 0 |
1252 | 1239 | }, |
|
1362 | 1349 | "name": "stdout", |
1363 | 1350 | "output_type": "stream", |
1364 | 1351 | "text": [ |
1365 | | - "CPU times: user 259 ms, sys: 159 ms, total: 417 ms\n", |
| 1352 | + "CPU times: user 273 ms, sys: 208 ms, total: 481 ms\n", |
1366 | 1353 | "Wall time: 149 ms\n" |
1367 | 1354 | ] |
1368 | 1355 | }, |
1369 | 1356 | { |
1370 | 1357 | "data": { |
1371 | 1358 | "application/vnd.jupyter.widget-view+json": { |
1372 | | - "model_id": "fe3b518e130740c8aa8431f27109f4a8", |
| 1359 | + "model_id": "afd7879a0aa74dccabb9b62d27bec28a", |
1373 | 1360 | "version_major": 2, |
1374 | 1361 | "version_minor": 0 |
1375 | 1362 | }, |
|
1486 | 1473 | "name": "stdout", |
1487 | 1474 | "output_type": "stream", |
1488 | 1475 | "text": [ |
1489 | | - "CPU times: user 263 ms, sys: 135 ms, total: 399 ms\n", |
1490 | | - "Wall time: 169 ms\n" |
| 1476 | + "CPU times: user 287 ms, sys: 186 ms, total: 473 ms\n", |
| 1477 | + "Wall time: 174 ms\n" |
1491 | 1478 | ] |
1492 | 1479 | }, |
1493 | 1480 | { |
1494 | 1481 | "data": { |
1495 | 1482 | "application/vnd.jupyter.widget-view+json": { |
1496 | | - "model_id": "9fb385b177bb4b7b80c5b1d8973bd554", |
| 1483 | + "model_id": "fd8e2909d785471aab81cdb5aed68102", |
1497 | 1484 | "version_major": 2, |
1498 | 1485 | "version_minor": 0 |
1499 | 1486 | }, |
|
1621 | 1608 | "name": "stdout", |
1622 | 1609 | "output_type": "stream", |
1623 | 1610 | "text": [ |
1624 | | - "CPU times: user 128 ms, sys: 83.2 ms, total: 211 ms\n", |
1625 | | - "Wall time: 73.3 ms\n" |
| 1611 | + "CPU times: user 81.2 ms, sys: 15 ms, total: 96.2 ms\n", |
| 1612 | + "Wall time: 67.1 ms\n" |
1626 | 1613 | ] |
1627 | 1614 | }, |
1628 | 1615 | { |
1629 | 1616 | "data": { |
1630 | 1617 | "application/vnd.jupyter.widget-view+json": { |
1631 | | - "model_id": "0260081dbd9347bbafb362ed753080fc", |
| 1618 | + "model_id": "1752ba58b84b4a33b87072ea7602a3fd", |
1632 | 1619 | "version_major": 2, |
1633 | 1620 | "version_minor": 0 |
1634 | 1621 | }, |
|
1745 | 1732 | "name": "stdout", |
1746 | 1733 | "output_type": "stream", |
1747 | 1734 | "text": [ |
1748 | | - "CPU times: user 388 ms, sys: 258 ms, total: 646 ms\n", |
1749 | | - "Wall time: 219 ms\n" |
| 1735 | + "CPU times: user 406 ms, sys: 292 ms, total: 698 ms\n", |
| 1736 | + "Wall time: 225 ms\n" |
1750 | 1737 | ] |
1751 | 1738 | }, |
1752 | 1739 | { |
1753 | 1740 | "data": { |
1754 | 1741 | "application/vnd.jupyter.widget-view+json": { |
1755 | | - "model_id": "1a87f897a59b4c8094d6079d2123ac40", |
| 1742 | + "model_id": "ba7ca0341d964e1da003b00f05ae59e1", |
1756 | 1743 | "version_major": 2, |
1757 | 1744 | "version_minor": 0 |
1758 | 1745 | }, |
|
1883 | 1870 | "name": "stdout", |
1884 | 1871 | "output_type": "stream", |
1885 | 1872 | "text": [ |
1886 | | - "CPU times: user 1e+03 ns, sys: 0 ns, total: 1e+03 ns\n", |
1887 | | - "Wall time: 2.86 µs\n" |
| 1873 | + "CPU times: user 1 µs, sys: 1 µs, total: 2 µs\n", |
| 1874 | + "Wall time: 1.91 µs\n" |
1888 | 1875 | ] |
1889 | 1876 | }, |
1890 | 1877 | { |
|
0 commit comments