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/morphometrics/morphometrics",4 "url": "https://github.com/morphometrics/morphometrics",5 "host": "github.com",6 "commit": "9e8ec13ee675cae86781e9dc236730e018c1ace3",7 "license": "BSD-3-Clause",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "4d0ed941621794f6d0e99999bd936e7c15187514f33f32e8557bb714fa6e7c32",14 "language": "License",15 "lines": 28,16 "truncated": false,17 "block": 22,18 "row": 1412619 },20 {21 "path": "README.md",22 "sha256": "4f5f0a542098edeff0a589706c53dbaad6cd614c73ba693ee7fa6a7a28ba26b7",23 "language": "Text",24 "lines": 143,25 "truncated": false,26 "block": 24,27 "row": 74128 },29 {30 "path": "examples/label_expansion.py",31 "sha256": "ec8159dec59c0458c215987d229c5c42c50ad0e05d9a9439065ae156cc487e67",32 "language": "Python",33 "lines": 20,34 "truncated": false,35 "block": 22,36 "row": 2729737 },38 {39 "path": "examples/labeling_example.py",40 "sha256": "a7a87f740bc1b649889a285858d82e522a27e26c8046ae1222a1f0b6736883a4",41 "language": "Python",42 "lines": 75,43 "truncated": false,44 "block": 23,45 "row": 155846 },47 {48 "path": "examples/measure_with_widget.py",49 "sha256": "9f3f0d18be6d903662bd17c74cc80391116d5e51b1f5d60717096ded02d75a17",50 "language": "Python",51 "lines": 21,52 "truncated": false,53 "block": 22,54 "row": 2765055 },56 {57 "path": "examples/mesh_binary_mask.ipynb",58 "sha256": "9d3e44b9e0873fe9bf0e2e61d991ba4ed4bb693e7e8b0252efd904721a020cab",59 "language": "Jupyter",60 "lines": 41,61 "truncated": false,62 "block": 22,63 "row": 1245864 },65 {66 "path": "examples/object_classification.ipynb",67 "sha256": "31e6acf41e1beeb46314c3af142ed5bd089127d9049ee8b5f08750d77fcaa7f5",68 "language": "Jupyter",69 "lines": 183,70 "truncated": false,71 "block": 22,72 "row": 1292373 },74 {75 "path": "examples/registered_measurements.py",76 "sha256": "f976ebebc643a7018120230e7209406d96ef1945614e5b29e19c7f8fcf006020",77 "language": "Python",78 "lines": 43,79 "truncated": false,80 "block": 22,81 "row": 2901782 },83 {84 "path": "examples/surface_distance_measurement.ipynb",85 "sha256": "78872139d1d1df5e97a3174f842b3313fe05c14d07d3744287ef14e5898a7626",86 "language": "Jupyter",87 "lines": 97,88 "truncated": false,89 "block": 22,90 "row": 1258391 },92 {93 "path": "setup.py",94 "sha256": "1f2367ffcdf036b149d75eee780134bed40227ff687bac688f10c261cbcc9578",95 "language": "Python",96 "lines": 8,97 "truncated": false,98 "block": 22,99 "row": 26126100 },101 {102 "path": "src/morphometrics/__init__.py",103 "sha256": "bb0cef1225c3e957d78c37cf50037873b1e7916c8a1e5a77af6d9d1c3e57e108",104 "language": "Python",105 "lines": 7,106 "truncated": false,107 "block": 22,108 "row": 25954109 },110 {111 "path": "src/morphometrics/_gui/_qt/_tests/test_annotation_widgets.py",112 "sha256": "9c3e301e888f14956410c31765383602ad65cd8f9ca440c053fea43204a3e9c6",113 "language": "Python",114 "lines": 73,115 "truncated": false,116 "block": 23,117 "row": 1808118 },119 {120 "path": "src/morphometrics/_gui/_qt/annotation_widgets.py",121 "sha256": "4f3b78e9b6af39932c30870c78d865a25db0c8f492fd5553af0c6d811062a700",122 "language": "Python",123 "lines": 422,124 "truncated": false,125 "block": 23,126 "row": 12268127 },128 {129 "path": "src/morphometrics/_gui/_qt/labeling_widgets.py",130 "sha256": "18d5848385c3a49d99f48dff648c898ea288179d5471fa487b7193d33110a4ab",131 "language": "Python",132 "lines": 521,133 "truncated": false,134 "block": 23,135 "row": 12870136 },137 {138 "path": "src/morphometrics/_gui/_qt/measurement_widgets.py",139 "sha256": "db082647302c425fd79ee2328530ef99c282bced446e14276531d85191a52228",140 "language": "Python",141 "lines": 2,142 "truncated": false,143 "block": 22,144 "row": 25665145 },146 {147 "path": "src/morphometrics/_gui/_qt/multiple_viewer_widget.py",148 "sha256": "c43e0a041ae26f32115bfbc3070493f4fc81bb9a7b1b0e581b17563dfbdc9d2c",149 "language": "Python",150 "lines": 317,151 "truncated": false,152 "block": 23,153 "row": 10629154 },155 {156 "path": "src/morphometrics/_gui/label_curator/_tests/test_label_cleaning.py",157 "sha256": "dda353163054178fe6f2c07c7c6b50ecb35a5bc157dcb204dcb1c4551f0b90b9",158 "language": "Python",159 "lines": 65,160 "truncated": false,161 "block": 23,162 "row": 1990163 },164 {165 "path": "src/morphometrics/_gui/label_curator/_tests/test_label_curator.py",166 "sha256": "da54689807b4c778b55e757aec34cdaa5c11358b2f646b15e4ef578ac47ac212",167 "language": "Python",168 "lines": 43,169 "truncated": false,170 "block": 23,171 "row": 835172 },173 {174 "path": "src/morphometrics/_gui/label_curator/label_cleaning.py",175 "sha256": "d62985d35a8abe5db6074838f760fb8107e2aa4cbe9a8aa07a5e892663e38363",176 "language": "Python",177 "lines": 299,178 "truncated": false,179 "block": 23,180 "row": 10937181 },182 {183 "path": "src/morphometrics/_gui/label_curator/label_curator.py",184 "sha256": "c0d1d39205a31fca17d65ef15c30eb7d9b9effd5161de3c111d834b6e9d29042",185 "language": "Python",186 "lines": 247,187 "truncated": false,188 "block": 23,189 "row": 9530190 },191 {192 "path": "src/morphometrics/_gui/label_curator/label_painting.py",193 "sha256": "d8a010e307220140b3c345a02d55a4244bddfc1c2414a82ca0a8170063dbf7f3",194 "language": "Python",195 "lines": 42,196 "truncated": false,197 "block": 22,198 "row": 29326199 },200 {201 "path": "src/morphometrics/_gui/label_curator/qt_label_curator.py",202 "sha256": "5162a50ad1fce3a5a351c016f4a334f572494c4f44f789add765b7a44cbfb331",203 "language": "Python",204 "lines": 285,205 "truncated": false,206 "block": 23,207 "row": 10387208 },209 {210 "path": "src/morphometrics/_gui/models/_tests/test_annotation_model.py",211 "sha256": "ae03315b35d24ca30dfc31f11e5b901d212e3a155f39db50d8d4c0f0b3de0bc1",212 "language": "Python",213 "lines": 99,214 "truncated": false,215 "block": 23,216 "row": 3442217 },218 {219 "path": "src/morphometrics/_gui/models/_tests/test_labeling_model.py",220 "sha256": "78697e6cb46d17670ffdc60c8e910bec9e20796007069936bd88d1403253e581",221 "language": "Python",222 "lines": 81,223 "truncated": false,224 "block": 23,225 "row": 2911226 },227 {228 "path": "src/morphometrics/_gui/models/annotation_model.py",229 "sha256": "f64c2138db010adb95e3af1f0c5dc4e75d51717e66ee8f5334c679120cf88d7d",230 "language": "Python",231 "lines": 316,232 "truncated": false,233 "block": 23,234 "row": 10548235 },236 {237 "path": "src/morphometrics/_gui/models/labeling_model.py",238 "sha256": "337f91844345d518830a7b8bc4de007344bb0292dd67e3cc75084351b4f18c75",239 "language": "Python",240 "lines": 182,241 "truncated": false,242 "block": 23,243 "row": 7809244 },245 {246 "path": "src/morphometrics/_sample_data.py",247 "sha256": "9387787ec67fa688a5a29e2047add473b76df29cafd046aba8fe8eb7887260aa",248 "language": "Python",249 "lines": 21,250 "truncated": false,251 "block": 22,252 "row": 27899253 },254 {255 "path": "src/morphometrics/_tests/test_sample_data.py",256 "sha256": "a702ca0130cc1664170b187122ac95d29bf043863b51beccca4db9a32766d153",257 "language": "Python",258 "lines": 41,259 "truncated": false,260 "block": 22,261 "row": 29005262 },263 {264 "path": "src/morphometrics/_tests/test_types.py",265 "sha256": "56afa54ce7da6e02b79630c69d3b14cd2b6643d330ad4f29e007a7f7297c78e5",266 "language": "Python",267 "lines": 50,268 "truncated": false,269 "block": 22,270 "row": 29420271 },272 {273 "path": "src/morphometrics/_tests/test_widget.py",274 "sha256": "f816ed8d046874ce947f9084ad6f7c3cca833a53321ae68eb325f149aceb693d",275 "language": "Python",276 "lines": 40,277 "truncated": false,278 "block": 22,279 "row": 29710280 },281 {282 "path": "src/morphometrics/data/__init__.py",283 "sha256": "26ed9ea5e6928ed3965dc1a09c3887c985df5e5e88cad89dcb38594dbe843e17",284 "language": "Python",285 "lines": 2,286 "truncated": false,287 "block": 22,288 "row": 25704289 },290 {291 "path": "src/morphometrics/data/intensity_image.py",292 "sha256": "6e712de2458b97ec54a0619336dfab82825763dae9f91557a84b9727aac99dac",293 "language": "Python",294 "lines": 9,295 "truncated": false,296 "block": 22,297 "row": 26103298 },299 {300 "path": "src/morphometrics/data/label_image.py",301 "sha256": "36b2fc18a437e23a27dac7c9681250b20ef7452435cd2a6afcf742f0d5e6dd60",302 "language": "Python",303 "lines": 89,304 "truncated": false,305 "block": 23,306 "row": 2893307 },308 {309 "path": "src/morphometrics/explore/_tests/_explore_test_utils.py",310 "sha256": "572805b517c56614bdaaf6c81e592ae968955acfa628f839a9faa74111ced23f",311 "language": "Python",312 "lines": 9,313 "truncated": false,314 "block": 22,315 "row": 26023316 },317 {318 "path": "src/morphometrics/explore/_tests/test_cluster.py",319 "sha256": "e5561593a903b65052aa59b750a6019d332585525fae67f005cb307dafc1e98c",320 "language": "Python",321 "lines": 28,322 "truncated": false,323 "block": 22,324 "row": 28898325 },326 {327 "path": "src/morphometrics/explore/_tests/test_dimensionality_reduction.py",328 "sha256": "c810dadf876433a3807f63f62155d92ca343e344920cce1c00a64ad186f93019",329 "language": "Python",330 "lines": 23,331 "truncated": false,332 "block": 22,333 "row": 28139334 },335 {336 "path": "src/morphometrics/explore/_tests/test_explore_utils.py",337 "sha256": "d4acc22d0f86e90bf0864742317c9212c39602440a61df7deaa607b410395477",338 "language": "Python",339 "lines": 12,340 "truncated": false,341 "block": 22,342 "row": 27190343 },344 {345 "path": "src/morphometrics/explore/_tests/test_sample.py",346 "sha256": "720cb66e514ed56db6e97b3c7ebfc3a04f41a1a946e7267a495e2eab4d3d8be1",347 "language": "Python",348 "lines": 98,349 "truncated": false,350 "block": 23,351 "row": 3358352 },353 {354 "path": "src/morphometrics/explore/cluster.py",355 "sha256": "00b21c14fb02401c0624e2448a88683894ae411ab55e567777f6ff35b134d825",356 "language": "Python",357 "lines": 69,358 "truncated": false,359 "block": 23,360 "row": 2581361 },362 {363 "path": "src/morphometrics/explore/dimensionality_reduction.py",364 "sha256": "6affa1c980bef5bd4eebe1be1c7c437cfbfaf74a19d3b5a3ece7699388f776f5",365 "language": "Python",366 "lines": 117,367 "truncated": false,368 "block": 23,369 "row": 5244370 },371 {372 "path": "src/morphometrics/explore/explore_utils.py",373 "sha256": "f908bcb6a092cdb9ac8bbed17f6aeb4e7c10f1a6978e9dcc67613198fdb64a77",374 "language": "Python",375 "lines": 43,376 "truncated": false,377 "block": 22,378 "row": 29608379 },380 {381 "path": "src/morphometrics/explore/sample.py",382 "sha256": "df41e0e6612dda3f5cbf4e9114a5432c0feefce3e83b078698c15199762a5088",383 "language": "Python",384 "lines": 82,385 "truncated": false,386 "block": 23,387 "row": 2059388 },389 {390 "path": "src/morphometrics/label/_tests/test_image_utils.py",391 "sha256": "7925ae6d12ade5e23454d3faae57a49c84e9c0a46beedcb93bde433a2fc06d03",392 "language": "Python",393 "lines": 238,394 "truncated": false,395 "block": 23,396 "row": 9417397 },398 {399 "path": "src/morphometrics/label/_tests/test_stitch.py",400 "sha256": "9b820bd5db08fef80606e3c601419f167c74f67e8c5da4259c3c897fcefe698d",401 "language": "Python",402 "lines": 266,403 "truncated": false,404 "block": 23,405 "row": 9355406 },407 {408 "path": "src/morphometrics/label/image_utils.py",409 "sha256": "abe53c78114300d433596f2a5a4bf07b64ac367480eca5b89afee1e4dbf406e5",410 "language": "Python",411 "lines": 380,412 "truncated": false,413 "block": 23,414 "row": 11472415 },416 {417 "path": "src/morphometrics/label/stitch.py",418 "sha256": "ae067f9378b0ac1a9232740bc76288e5d3481ff27c32058373ec82ba033ebb1e",419 "language": "Python",420 "lines": 398,421 "truncated": false,422 "block": 23,423 "row": 12133424 },425 {426 "path": "src/morphometrics/measure/__init__.py",427 "sha256": "6395347849f876064acea5962bb06259b16b4143ed5d0026b2d6e951b6f43cf8",428 "language": "Python",429 "lines": 18,430 "truncated": false,431 "block": 22,432 "row": 27268433 },434 {435 "path": "src/morphometrics/measure/_tests/test_intensity.py",436 "sha256": "2bcbd87595d6fbf0b512d37c654fa873dc6abf4f977dfaec36836ef731adab22",437 "language": "Python",438 "lines": 246,439 "truncated": false,440 "block": 23,441 "row": 8696442 },443 {444 "path": "src/morphometrics/measure/_tests/test_label.py",445 "sha256": "f7e2a5f82a7e01b974723faf2062d5eaa8673f94f6edf83a8eac185a0d8cb7e3",446 "language": "Python",447 "lines": 127,448 "truncated": false,449 "block": 23,450 "row": 4419451 },452 {453 "path": "src/morphometrics/measure/_tests/test_neighborhood.py",454 "sha256": "4d412c8a87ba8f88a274eef793882d7fc3a0249abc587be032b06c285f69be08",455 "language": "Python",456 "lines": 115,457 "truncated": false,458 "block": 23,459 "row": 5243460 },461 {462 "path": "src/morphometrics/measure/_tests/test_surface.py",463 "sha256": "2f1b46422902a3496e4f21c65d8370776e552d45637dfef7bb76487f12f95b90",464 "language": "Python",465 "lines": 56,466 "truncated": false,467 "block": 23,468 "row": 1384469 },470 {471 "path": "src/morphometrics/measure/intensity.py",472 "sha256": "095fc9c9643c24a1ecd6a63386c963b9900df7d8de1086549d08abbd141704ca",473 "language": "Python",474 "lines": 190,475 "truncated": false,476 "block": 23,477 "row": 8659478 },479 {480 "path": "src/morphometrics/measure/label.py",481 "sha256": "1b99411783910367dc3d075ebdf7b1f63b1e83f4e1b7cd14dcf9b329c1e5d26f",482 "language": "Python",483 "lines": 224,484 "truncated": false,485 "block": 23,486 "row": 9518487 },488 {489 "path": "src/morphometrics/measure/neighborhood.py",490 "sha256": "09a2b39329b0f0c142d11124e21d3f74826b59b4081e9ce72ba884b8749e6a4e",491 "language": "Python",492 "lines": 141,493 "truncated": false,494 "block": 23,495 "row": 6367496 },497 {498 "path": "src/morphometrics/measure/surface.py",499 "sha256": "bf1693c58a31dc2881c4e8c4f5ff7c022d9ea39e11f3a350966ca7f5d29de5e1",500 "language": "Python",501 "lines": 113,502 "truncated": false,503 "block": 23,504 "row": 5483505 },506 {507 "path": "src/morphometrics/skeleton/_tests/conftest.py",508 "sha256": "c889784c5ce7128afe12ccc496fab375c434b59046165188456d79500a8548eb",509 "language": "Python",510 "lines": 72,511 "truncated": false,512 "block": 23,513 "row": 2130514 },515 {516 "path": "src/morphometrics/skeleton/_tests/test_model.py",517 "sha256": "5e82b15914a51dc4c34d90ca11d93044ba8330db959fca1c9703d27d61bf942f",518 "language": "Python",519 "lines": 86,520 "truncated": false,521 "block": 23,522 "row": 3878523 },524 {525 "path": "src/morphometrics/skeleton/constants.py",526 "sha256": "71ccbd8499dadc751490f30066d2771b31fd147729b9be8b58475830f4a23f1d",527 "language": "Python",528 "lines": 8,529 "truncated": false,530 "block": 22,531 "row": 26405532 },533 {534 "path": "src/morphometrics/skeleton/model.py",535 "sha256": "272c66408cab6d11d77e5898c33627ca14de2dba8eb5cff5abe0bde3cab34fc8",536 "language": "Python",537 "lines": 222,538 "truncated": false,539 "block": 23,540 "row": 9312541 },542 {543 "path": "src/morphometrics/types.py",544 "sha256": "688a884785c7e1e05c1b0051284540f9b1b2f70b17149ac63b7701614f1f48fa",545 "language": "Python",546 "lines": 17,547 "truncated": false,548 "block": 22,549 "row": 26678550 },551 {552 "path": "src/morphometrics/utils/_tests/test_anndata_utils.py",553 "sha256": "6b0db65565c4c36df10e48474f9ae7153a1254d41ad4f872cd6760f4784cbf6d",554 "language": "Python",555 "lines": 92,556 "truncated": false,557 "block": 23,558 "row": 3340559 },560 {561 "path": "src/morphometrics/utils/_tests/test_image_utils.py",562 "sha256": "0b8b9427a3e9301fed321e1397ce46214768b29baeaa544ce64d7ab9dba2021e",563 "language": "Python",564 "lines": 64,565 "truncated": false,566 "block": 23,567 "row": 1200568 },569 {570 "path": "src/morphometrics/utils/_tests/test_math_utils.py",571 "sha256": "d10f45f8fb3f94f9bd6592a6253d47fecf402195dcc7c4243b1ff0c4abd1a258",572 "language": "Python",573 "lines": 39,574 "truncated": false,575 "block": 22,576 "row": 29103577 },578 {579 "path": "src/morphometrics/utils/_tests/test_surface_utils.py",580 "sha256": "cd001d631c836394466774e8b57103b3907b514bd1a4dc7810d56d1d94c7dffa",581 "language": "Python",582 "lines": 73,583 "truncated": false,584 "block": 23,585 "row": 1576586 },587 {588 "path": "src/morphometrics/utils/anndata_utils.py",589 "sha256": "61d259e7d8ee370e0148553a900f6b4475ba5e144ed720a39a9570bfa32950e0",590 "language": "Python",591 "lines": 76,592 "truncated": false,593 "block": 23,594 "row": 2097595 },596 {597 "path": "src/morphometrics/utils/environment_utils.py",598 "sha256": "e745b357da5538214b9cd3985b620a1e9e91c8f8f22cc0789ebc8b76a253177e",599 "language": "Python",600 "lines": 11,601 "truncated": false,602 "block": 22,603 "row": 26382604 },605 {606 "path": "src/morphometrics/utils/image_utils.py",607 "sha256": "1daf67bf114c556a8c4960d9b40f582bdafcb871eced85b17e9945851743db87",608 "language": "Python",609 "lines": 35,610 "truncated": false,611 "block": 22,612 "row": 29593613 },614 {615 "path": "src/morphometrics/utils/math_utils.py",616 "sha256": "825b1e251e5d9b0a4098874bcf9f231ce88d6957c7afaa3a68d769eedf8a823b",617 "language": "Python",618 "lines": 34,619 "truncated": false,620 "block": 22,621 "row": 29059622 },623 {624 "path": "src/morphometrics/utils/napari_utils.py",625 "sha256": "ea36e68da0d01833a19bf4195aa7465d5d342712b3ef91860ff90351dc3c23fc",626 "language": "Python",627 "lines": 46,628 "truncated": false,629 "block": 22,630 "row": 29629631 },632 {633 "path": "src/morphometrics/utils/surface_utils.py",634 "sha256": "a7f24954e1b79da5f510634d7e676a8e800b744aec2dfadbd9bc464dc5fa9158",635 "language": "Python",636 "lines": 292,637 "truncated": false,638 "block": 23,639 "row": 10177640 }641 ]642}