OpenScientificCodeRegistry/Database
Open Scientific Code Registry (OSCR): the authors' scripts The code published by the authors of open-access neuroscience papers, as found and verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified commit, under the license of its repository. 421,275 unique files (3,782 MB of text) from 8,849 repositories, in 24 Parquet block(s). Only files whose repository's license allows redistribution, confirmed by the repository's… See the full description on the dataset page: https://huggingface.co/datasets/OpenScientificCodeRegistry/Database.
05.6k
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/atarashansky/samap",4 "url": "https://github.com/atarashansky/SAMap/blob/main/SAMap_vignette.ipynb",5 "host": "github.com",6 "commit": "8ffeaec17d738477d4a6302045098943a2726be7",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "2389b1c3fe0e0cf5532e3fa7979e5c517c218bf651bb31958d881cd65fdd2c3d",14 "language": "License",15 "lines": 21,16 "truncated": false,17 "block": 6,18 "row": 154319 },20 {21 "path": "README.md",22 "sha256": "1b5373f71d958e6c62ebd3fd776d9f14af8e9a78e83bc8cac06771042a43bb50",23 "language": "Text",24 "lines": 62,25 "truncated": false,26 "block": 8,27 "row": 980828 },29 {30 "path": "SAMap_vignette.ipynb",31 "sha256": "b3f4c30f006513ecc4d77c74fb7dddf042ce85b172b6e144325fa83712b8ecdb",32 "language": "Jupyter",33 "lines": 414,34 "truncated": false,35 "block": 6,36 "row": 76537 },38 {39 "path": "benchmarks/bench_samap.py",40 "sha256": "1f299c3ed6105d7b8daaae7c5478fd9675d50147028c51a66c9751ee64481416",41 "language": "Python",42 "lines": 644,43 "truncated": false,44 "block": 7,45 "row": 863646 },47 {48 "path": "benchmarks/plot_bench.py",49 "sha256": "58b96cead886663b66522b0e6cc0745873eb2ce442ad747205fc3ed7ff87a2c1",50 "language": "Python",51 "lines": 139,52 "truncated": false,53 "block": 6,54 "row": 3893555 },56 {57 "path": "map_genes.sh",58 "sha256": "e6f4fce394ba1c14435151a0f362eec29527f832dede1578753021becee90f23",59 "language": "Shell",60 "lines": 145,61 "truncated": false,62 "block": 8,63 "row": 905064 },65 {66 "path": "src/samap/__init__.py",67 "sha256": "56dc890a36802d1a3114be5b68213c541402f66142b221513fd9a151da66f6af",68 "language": "Python",69 "lines": 82,70 "truncated": false,71 "block": 6,72 "row": 3044473 },74 {75 "path": "src/samap/_constants.py",76 "sha256": "c0347a50da01b89c34a2f1d1fa0a4ba3b94c6e519a057eb0058e207454b7854d",77 "language": "Python",78 "lines": 66,79 "truncated": false,80 "block": 6,81 "row": 3278982 },83 {84 "path": "src/samap/_logging.py",85 "sha256": "a452d6729b79ead375a6736aa7f8fb9ce461a945b74b77525c20cf90003144df",86 "language": "Python",87 "lines": 72,88 "truncated": false,89 "block": 6,90 "row": 3142891 },92 {93 "path": "src/samap/_rsc_compat.py",94 "sha256": "fe51cc9c924e0b3a27d020ff2b68e197cdaea5c9374a9d9044a6e81ef8b34029",95 "language": "Python",96 "lines": 107,97 "truncated": false,98 "block": 6,99 "row": 37671100 },101 {102 "path": "src/samap/analysis/__init__.py",103 "sha256": "391633e7930560ea885b1895cfe854b76608e07957f4b9b07c06c58bfdaae190",104 "language": "Python",105 "lines": 27,106 "truncated": false,107 "block": 6,108 "row": 23772109 },110 {111 "path": "src/samap/analysis/enrichment.py",112 "sha256": "a7d69ea97f2300bc5607270023ae2f8f869ee8162dbae6398f11711708cf421b",113 "language": "Python",114 "lines": 401,115 "truncated": false,116 "block": 7,117 "row": 5757118 },119 {120 "path": "src/samap/analysis/gene_pairs.py",121 "sha256": "b6d92ca9865eafaa326dfb0e24faa239232461de842e7021bef60e86eb9aea72",122 "language": "Python",123 "lines": 378,124 "truncated": false,125 "block": 7,126 "row": 4854127 },128 {129 "path": "src/samap/analysis/plotting.py",130 "sha256": "5bfb9cdb0d5927cac452c9812dd3a77797d74ce42fc517746fc16c1d42c61c3f",131 "language": "Python",132 "lines": 218,133 "truncated": false,134 "block": 7,135 "row": 46136 },137 {138 "path": "src/samap/analysis/scores.py",139 "sha256": "2b1ec6672b7193bf6a039a892679f3d21e64f28ec8b33c0a4ca93b400e17a601",140 "language": "Python",141 "lines": 733,142 "truncated": false,143 "block": 7,144 "row": 9675145 },146 {147 "path": "src/samap/core/__init__.py",148 "sha256": "54e489292211f9ab25123529c6b0c19f841bcab35bf5a6f93a2416f3c25c385a",149 "language": "Python",150 "lines": 7,151 "truncated": false,152 "block": 6,153 "row": 20809154 },155 {156 "path": "src/samap/core/_backend.py",157 "sha256": "7d4e1e6b18d8652c48af7e646f87a4a5ea221c8b2256cc42252594dd5e23ff1b",158 "language": "Python",159 "lines": 423,160 "truncated": false,161 "block": 7,162 "row": 6965163 },164 {165 "path": "src/samap/core/coarsening.py",166 "sha256": "94e15e9ed2357b4f5c3a2def5e91438dc051b29066aeda4b13bf29842a462a6c",167 "language": "Python",168 "lines": 471,169 "truncated": false,170 "block": 7,171 "row": 7012172 },173 {174 "path": "src/samap/core/correlation.py",175 "sha256": "f2b3fdcdc15769124198652e2dea5785625bfd6ba78e37bc365c0261a8b34cc3",176 "language": "Python",177 "lines": 734,178 "truncated": false,179 "block": 7,180 "row": 9956181 },182 {183 "path": "src/samap/core/expand.py",184 "sha256": "13951ec87f00b1a2b4a34e6edd5f05d6dcd8a05d74d262474fc9534b23d94650",185 "language": "Python",186 "lines": 328,187 "truncated": false,188 "block": 7,189 "row": 4353190 },191 {192 "path": "src/samap/core/homology.py",193 "sha256": "baa94e00eec6715f7daf30e94d97db0508f14f23ad31fc5e989c7d715809fc2a",194 "language": "Python",195 "lines": 279,196 "truncated": false,197 "block": 7,198 "row": 2344199 },200 {201 "path": "src/samap/core/knn.py",202 "sha256": "19be29d587134eceada62525ba12c31deb0d068b5b2567815ba889e495bea69e",203 "language": "Python",204 "lines": 218,205 "truncated": false,206 "block": 7,207 "row": 592208 },209 {210 "path": "src/samap/core/mapping.py",211 "sha256": "3c2f0767f6d099b53aa2ab61c110f6e3e450e545707cfc3b55793595793c307b",212 "language": "Python",213 "lines": 879,214 "truncated": false,215 "block": 7,216 "row": 10521217 },218 {219 "path": "src/samap/core/projection.py",220 "sha256": "bc86e4b65a483e8087b23d03b19cf79b37acacac5fbf72ed0dee8e4d892da19e",221 "language": "Python",222 "lines": 543,223 "truncated": false,224 "block": 7,225 "row": 8579226 },227 {228 "path": "src/samap/exceptions.py",229 "sha256": "5664785aa22e56c60b893e7f89ca3375a3dfa468eeb31878b1db2fd86590d343",230 "language": "Python",231 "lines": 31,232 "truncated": false,233 "block": 6,234 "row": 23742235 },236 {237 "path": "src/samap/io/__init__.py",238 "sha256": "e3768755b5188d7397f1df0ec5693c98dcf0948487ec7a9dc95a0d72a32cce4e",239 "language": "Python",240 "lines": 7,241 "truncated": false,242 "block": 6,243 "row": 20943244 },245 {246 "path": "src/samap/sam/__init__.py",247 "sha256": "d9b191f52e4515a0b95ac9f6b355e5992aa94725a022621a75941605517612ea",248 "language": "Python",249 "lines": 9,250 "truncated": false,251 "block": 6,252 "row": 21416253 },254 {255 "path": "src/samap/sam/core.py",256 "sha256": "305dae92c9651c084f8c2e60f111b6311be8f97ec36ec95a5bed47f2973ba16f",257 "language": "Python",258 "lines": 1311,259 "truncated": false,260 "block": 8,261 "row": 135262 },263 {264 "path": "src/samap/sam/knn.py",265 "sha256": "259ae471821d83037433c9c5ddddf5eec8a3a9b89de3fcdc27efad5d252a1f98",266 "language": "Python",267 "lines": 140,268 "truncated": false,269 "block": 6,270 "row": 39238271 },272 {273 "path": "src/samap/sam/pca.py",274 "sha256": "68e3f708396429931873739c8a7031a5341cbccf6a2e5c185bfc8192cdb98494",275 "language": "Python",276 "lines": 369,277 "truncated": false,278 "block": 7,279 "row": 5649280 },281 {282 "path": "src/samap/sam/utils.py",283 "sha256": "b95a3a708d3a562f66602296e4164157712630c30feb1d2d54e977e0da0846a1",284 "language": "Python",285 "lines": 83,286 "truncated": false,287 "block": 6,288 "row": 31692289 },290 {291 "path": "src/samap/utils.py",292 "sha256": "b0f7a745976fc796e8194264fbae21823bf0231910dbb283a7c9d0f2ef550d3d",293 "language": "Python",294 "lines": 303,295 "truncated": false,296 "block": 7,297 "row": 784298 },299 {300 "path": "tests/__init__.py",301 "sha256": "f6cc49f82639c94987a09bbf47a7e56acb6407f9ed8f955a84f48722060f42e5",302 "language": "Python",303 "lines": 1,304 "truncated": false,305 "block": 6,306 "row": 20184307 },308 {309 "path": "tests/conftest.py",310 "sha256": "c171278dbfe11cbdfc8461ba91d1ce4344d86a8683b21d3c5c82f5571aa3e38c",311 "language": "Python",312 "lines": 57,313 "truncated": false,314 "block": 6,315 "row": 28151316 },317 {318 "path": "tests/fixtures/__init__.py",319 "sha256": "943dbd3ba2fca472896ff0aa5d807d7e7980e00982f28ae198e36306baffa484",320 "language": "Python",321 "lines": 1,322 "truncated": false,323 "block": 6,324 "row": 20464325 },326 {327 "path": "tests/fixtures/synthetic_data.py",328 "sha256": "7864845b44f1dae6ead2d8169a529214f9c9fd9ec6316359c9cb4d62507951b5",329 "language": "Python",330 "lines": 133,331 "truncated": false,332 "block": 6,333 "row": 36275334 },335 {336 "path": "tests/integration/__init__.py",337 "sha256": "945077b8f035c2aea7927c7a4664a5e243a9c01ff0c5c459d8e4a8ba6d62a585",338 "language": "Python",339 "lines": 1,340 "truncated": false,341 "block": 6,342 "row": 20267343 },344 {345 "path": "tests/integration/test_samap_integration.py",346 "sha256": "c66eb18d030ed9324deb963d4ea0733cc832af9dcef28bc482c027722ea9a836",347 "language": "Python",348 "lines": 149,349 "truncated": false,350 "block": 6,351 "row": 41130352 },353 {354 "path": "tests/regression/__init__.py",355 "sha256": "03bf22127511b8c0e3e79f6922c54643d91af6516dba2e0b23344f39054692d6",356 "language": "Python",357 "lines": 1,358 "truncated": false,359 "block": 6,360 "row": 20317361 },362 {363 "path": "tests/regression/conftest.py",364 "sha256": "fd260e462be0d24011e39c4c9d62ca7baefc6f13c6f07dba85773979eeb48fd8",365 "language": "Python",366 "lines": 21,367 "truncated": false,368 "block": 6,369 "row": 23332370 },371 {372 "path": "tests/regression/test_golden_output.py",373 "sha256": "5069f76f6897a0345d3b83027bc41d4a4a831a1ad95914a5fe5740cd2ede311f",374 "language": "Python",375 "lines": 326,376 "truncated": false,377 "block": 7,378 "row": 4751379 },380 {381 "path": "tests/unit/__init__.py",382 "sha256": "3c477bfd474aee5aa15cdcd9e1275096417af659f89dcbac4a2d1b174a2d3b15",383 "language": "Python",384 "lines": 1,385 "truncated": false,386 "block": 6,387 "row": 20211388 },389 {390 "path": "tests/unit/test_backend.py",391 "sha256": "34b755997a068496f4b5c264f0b3a5a9131f121ed5380f05218f17b4a9e12634",392 "language": "Python",393 "lines": 510,394 "truncated": false,395 "block": 7,396 "row": 8201397 },398 {399 "path": "tests/unit/test_coarsening.py",400 "sha256": "75a908a5c8c2fe68d37ba9265e6ee2e22419057f9dd2dc22055ba652cb887956",401 "language": "Python",402 "lines": 560,403 "truncated": false,404 "block": 7,405 "row": 7260406 },407 {408 "path": "tests/unit/test_constants.py",409 "sha256": "4e0ca2c488e0e92f04b9346b8a9c9e9af5edd63e23e0303723e239785f994982",410 "language": "Python",411 "lines": 52,412 "truncated": false,413 "block": 6,414 "row": 30424415 },416 {417 "path": "tests/unit/test_correlation.py",418 "sha256": "dd4b4bce423da75fdd88e08ddb8000dec74d2c9eb769fac660befab0e3f8ffd0",419 "language": "Python",420 "lines": 581,421 "truncated": false,422 "block": 7,423 "row": 8673424 },425 {426 "path": "tests/unit/test_exceptions.py",427 "sha256": "77ecf557b41d624fb7d0c78affc9ef222e35dacc20b5f131049a831f34394b76",428 "language": "Python",429 "lines": 64,430 "truncated": false,431 "block": 6,432 "row": 32571433 },434 {435 "path": "tests/unit/test_expand.py",436 "sha256": "321c2f442a63a26b6ddd814c0e095deba873ecf1dc36c0d0313de8a7c2cff4c4",437 "language": "Python",438 "lines": 262,439 "truncated": false,440 "block": 7,441 "row": 2723442 },443 {444 "path": "tests/unit/test_knn.py",445 "sha256": "3307b9036fd76faf418b791d78addcd519b4a98c24ac3f248f23eba3bca055ce",446 "language": "Python",447 "lines": 241,448 "truncated": false,449 "block": 7,450 "row": 2626451 },452 {453 "path": "tests/unit/test_mapping.py",454 "sha256": "c511180e0269db9b54fd87d3599be4b07984591b66cd9c51f05a6e391d229025",455 "language": "Python",456 "lines": 74,457 "truncated": false,458 "block": 6,459 "row": 36182460 },461 {462 "path": "tests/unit/test_pca.py",463 "sha256": "9c6070cbe21f253d5641d9cd141195b21fadd448fc705024979c14bafeb6b33d",464 "language": "Python",465 "lines": 311,466 "truncated": false,467 "block": 7,468 "row": 5868469 },470 {471 "path": "tests/unit/test_projection.py",472 "sha256": "a6ae6f4fa8dc3334cc022d3df145d48ddb679a6731ffd3887a8cdb8b42b43d91",473 "language": "Python",474 "lines": 341,475 "truncated": false,476 "block": 7,477 "row": 5405478 },479 {480 "path": "tests/unit/test_rsc_compat.py",481 "sha256": "303810a078c30da6df276b27aa39ae89a79242287d9ab78d2971d10697db5ad8",482 "language": "Python",483 "lines": 79,484 "truncated": false,485 "block": 6,486 "row": 34792487 },488 {489 "path": "tests/unit/test_utils.py",490 "sha256": "689d116cdb80c87feee38de95482b96ddad1e37d19112e4a4b83ea774cc7225f",491 "language": "Python",492 "lines": 158,493 "truncated": false,494 "block": 6,495 "row": 42800496 }497 ]498}