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/tfunck/brainbuilder",4 "url": "https://github.com/tfunck/brainbuilder",5 "host": "github.com",6 "commit": "45684a036fb6698c1ac3568f883f091e773fc572",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "8cb43cd638affe0a980ed14f6e5500d7caf65436a8539d519abf1373b0b8c140",14 "language": "License",15 "lines": 21,16 "truncated": false,17 "block": 20,18 "row": 875919 },20 {21 "path": "README.md",22 "sha256": "ed6c923bbba0a33f61f5d3e6d24e52ed2ef8301cfce7f870b8d8eca93f0054e1",23 "language": "Text",24 "lines": 134,25 "truncated": false,26 "block": 21,27 "row": 316928 },29 {30 "path": "brainbuilder/__init__.py",31 "sha256": "669cb281f65485459cbd3f626d8bc65dd787b3065f79dadcba09518f42f92603",32 "language": "Python",33 "lines": 1,34 "truncated": false,35 "block": 20,36 "row": 1226037 },38 {39 "path": "brainbuilder/align/align_2d.py",40 "sha256": "38390942513613c2ab037daaf7ed3579c873573bdc1936e4863d8b6444cfa474",41 "language": "Python",42 "lines": 795,43 "truncated": false,44 "block": 20,45 "row": 2199946 },47 {48 "path": "brainbuilder/align/align_3d.py",49 "sha256": "2f9d903ca38a2969b6fbcbe1662aee9793a40cc0d652318f5768b4795b9c9125",50 "language": "Python",51 "lines": 682,52 "truncated": false,53 "block": 20,54 "row": 2182355 },56 {57 "path": "brainbuilder/align/align_landmarks.py",58 "sha256": "043bc02188ee053534797ca97586e7b4de3d162bba5b34710fde2be31f8226b6",59 "language": "Python",60 "lines": 1072,61 "truncated": false,62 "block": 21,63 "row": 13364 },65 {66 "path": "brainbuilder/align/intervolume.py",67 "sha256": "1a00869faf1ac98fb43aba6021fa333c9a697e41c416bcab8a281e237678977e",68 "language": "Python",69 "lines": 458,70 "truncated": false,71 "block": 20,72 "row": 2101773 },74 {75 "path": "brainbuilder/downsample.py",76 "sha256": "db276f9885c8510acec042a6afe4e24b8f9f93c51bd30549e45d88fe4626ea85",77 "language": "Python",78 "lines": 227,79 "truncated": false,80 "block": 20,81 "row": 1903382 },83 {84 "path": "brainbuilder/initalign.py",85 "sha256": "e5d8fd479c4340964248dfb6209ee19b9395cbaeef677fda578c2e5c62d4e3b0",86 "language": "Python",87 "lines": 806,88 "truncated": false,89 "block": 20,90 "row": 2196491 },92 {93 "path": "brainbuilder/intensity_correction.py",94 "sha256": "8cf070fd0cf71fb283cec5dc3f3a5dc10452f378a397b50f7ae13f4565afd40c",95 "language": "Python",96 "lines": 899,97 "truncated": false,98 "block": 20,99 "row": 22075100 },101 {102 "path": "brainbuilder/interp/__init__.py",103 "sha256": "4014a666a9bb9cd50d8f8c873d50140643c277d2dddc7927b5ebe6a9375a619d",104 "language": "Python",105 "lines": 1,106 "truncated": false,107 "block": 20,108 "row": 12328109 },110 {111 "path": "brainbuilder/interp/acqvolume.py",112 "sha256": "40c9397a44119972dd811efacd0d7ac07c12f9286874c2ab8c956423f8f368b0",113 "language": "Python",114 "lines": 414,115 "truncated": false,116 "block": 20,117 "row": 20915118 },119 {120 "path": "brainbuilder/interp/adjust_section_means.py",121 "sha256": "74f263f5094dd8e0a72d55415df68ecf44204526a1fa90266aac922fdeee94ba",122 "language": "Python",123 "lines": 101,124 "truncated": false,125 "block": 20,126 "row": 17104127 },128 {129 "path": "brainbuilder/interp/batch_correction.py",130 "sha256": "10c9e17d086ba512ea44777c3ca711d68d4e2636d7b59d06d6f68c12c6c86c33",131 "language": "Python",132 "lines": 776,133 "truncated": false,134 "block": 20,135 "row": 21977136 },137 {138 "path": "brainbuilder/interp/prepare_surfaces.py",139 "sha256": "2fe06ba0abb749cb9f51824dcfea745c31e95c10305ac6bb46625da6bf15b3df",140 "language": "Python",141 "lines": 459,142 "truncated": false,143 "block": 20,144 "row": 21193145 },146 {147 "path": "brainbuilder/interp/surfinterp.py",148 "sha256": "d890eace5040d191ff50fd687083118b01334a812252d2f4004ccfdc48c2d33d",149 "language": "Python",150 "lines": 1135,151 "truncated": false,152 "block": 21,153 "row": 179154 },155 {156 "path": "brainbuilder/interp/volinterp.py",157 "sha256": "a55ef601ffdd29f3a18356557ac8e18460b1cff192f091cd48f14fd15acf0599",158 "language": "Python",159 "lines": 698,160 "truncated": false,161 "block": 20,162 "row": 21787163 },164 {165 "path": "brainbuilder/interpsections.py",166 "sha256": "17b9fb5b0363661e7739353edf1e4182f06903f383f34cf3fab2561af3a65ee3",167 "language": "Python",168 "lines": 191,169 "truncated": false,170 "block": 20,171 "row": 18649172 },173 {174 "path": "brainbuilder/qc/inter_section_dice.py",175 "sha256": "949fba2598abd4db89e1a82020c3fc07a92012b1d2c543b54324bfbde135b1f0",176 "language": "Python",177 "lines": 305,178 "truncated": false,179 "block": 20,180 "row": 20527181 },182 {183 "path": "brainbuilder/qc/quality_control.py",184 "sha256": "1445bdc4a08dca7e28918393e41d37d37018bdfff5c1a066a52b6fc811061051",185 "language": "Python",186 "lines": 122,187 "truncated": false,188 "block": 20,189 "row": 17436190 },191 {192 "path": "brainbuilder/qc/section_quality_control.py",193 "sha256": "2f7f9ccb6bc10ac4fdd104295ffb9da8ff4fca0e42ac92926e9fdfc5fbcb73fc",194 "language": "Python",195 "lines": 53,196 "truncated": false,197 "block": 20,198 "row": 15002199 },200 {201 "path": "brainbuilder/qc/validate_alignment.py",202 "sha256": "aa351eaf49b5a111fe1923a25b4616b153aa709302620badba9d7e8b1baff282",203 "language": "Python",204 "lines": 201,205 "truncated": false,206 "block": 20,207 "row": 19209208 },209 {210 "path": "brainbuilder/qc/validate_interp_error.py",211 "sha256": "88f74748615d58f43ac6177ebd8f7d3f78b3fd3200ca411d3543fcdab12fddba",212 "language": "Python",213 "lines": 795,214 "truncated": false,215 "block": 20,216 "row": 22040217 },218 {219 "path": "brainbuilder/qc/validate_section_alignment_to_ref.py",220 "sha256": "22a46482d2808454c44aa016b270186d6fdb96b08ee5ddc1a4638f4f3c11ac38",221 "language": "Python",222 "lines": 398,223 "truncated": false,224 "block": 20,225 "row": 20473226 },227 {228 "path": "brainbuilder/reconstruct.py",229 "sha256": "da286750dc58497d8309dbba4a9a3809935d81f9c319d69b3aa093f91060520d",230 "language": "Python",231 "lines": 420,232 "truncated": false,233 "block": 20,234 "row": 21140235 },236 {237 "path": "brainbuilder/segment.py",238 "sha256": "48490397526374c58c1e0e023036cbee5b7aab165ef2260b85ae0f3b29798778",239 "language": "Python",240 "lines": 894,241 "truncated": false,242 "block": 21,243 "row": 0244 },245 {246 "path": "brainbuilder/tests/generate_synthetic_data.py",247 "sha256": "d59f825eb8ae0eee716c21ebcd2c3dd230be4c2aefdc8c392c92e4ef81f2e122",248 "language": "Python",249 "lines": 341,250 "truncated": false,251 "block": 20,252 "row": 20162253 },254 {255 "path": "brainbuilder/utils/ANTs.py",256 "sha256": "cd419fa50b796c624827f7ba2aadc4d31fa9915b1516c1849123ab2b7da62948",257 "language": "Python",258 "lines": 392,259 "truncated": false,260 "block": 20,261 "row": 20878262 },263 {264 "path": "brainbuilder/utils/__init__.py",265 "sha256": "6943457c07b533cca1ad8906013e09abcac10fe953f67183d0859f1da9a662f2",266 "language": "Python",267 "lines": 1,268 "truncated": false,269 "block": 20,270 "row": 12272271 },272 {273 "path": "brainbuilder/utils/ants_nibabel.py",274 "sha256": "2ea68fdce80186a7b5c33e642ddcbc81cb30d55494a306b472f14e097a000946",275 "language": "Python",276 "lines": 178,277 "truncated": false,278 "block": 20,279 "row": 18196280 },281 {282 "path": "brainbuilder/utils/mesh_io.py",283 "sha256": "5fe2dc8c61af419e92031d26e3bce34cddd3ba3fe818eabb222e43403602d1b1",284 "language": "Python",285 "lines": 224,286 "truncated": false,287 "block": 20,288 "row": 19430289 },290 {291 "path": "brainbuilder/utils/mesh_utils.py",292 "sha256": "d34d763bbebf202bb1d063913d72c71bfbf64e9f9c7a8fc3aa2383b1cd55a407",293 "language": "Python",294 "lines": 1266,295 "truncated": false,296 "block": 21,297 "row": 203298 },299 {300 "path": "brainbuilder/utils/nl_deformation_flow.py",301 "sha256": "4b9093b43a22ae27e48c70b4e5240e14eb00d2d40967a0b2675b6a41cadaeaf2",302 "language": "Python",303 "lines": 615,304 "truncated": false,305 "block": 20,306 "row": 21524307 },308 {309 "path": "brainbuilder/utils/paths.py",310 "sha256": "50b4a1623baf10aed8c74fcf53302cbf6fbf7a63e0aafe0d37ca55fb9c5f0129",311 "language": "Python",312 "lines": 405,313 "truncated": false,314 "block": 20,315 "row": 21100316 },317 {318 "path": "brainbuilder/utils/utils.py",319 "sha256": "7dbb3f230cfb431f394dc425a6675ae6714cc1a095816141b5ef42cbc2b129fc",320 "language": "Python",321 "lines": 1622,322 "truncated": false,323 "block": 21,324 "row": 347325 },326 {327 "path": "brainbuilder/utils/validate_inputs.py",328 "sha256": "8eb87a6e42e1a2c298e1616c37dc4e8bc7bf47a24910f204aff99e118eaa3961",329 "language": "Python",330 "lines": 302,331 "truncated": false,332 "block": 20,333 "row": 20321334 },335 {336 "path": "brainbuilder/volalign.py",337 "sha256": "6652b490bc502677331a874cc24a1c610ebe0849fac780d7567c3287b6580b18",338 "language": "Python",339 "lines": 674,340 "truncated": false,341 "block": 20,342 "row": 21732343 },344 {345 "path": "docker/build.sh",346 "sha256": "22581c8f500b263bbd012b04171989622508c57b6e5aa9341bf056866b39cc09",347 "language": "Shell",348 "lines": 1,349 "truncated": false,350 "block": 21,351 "row": 1779352 },353 {354 "path": "notebooks/tutorial.ipynb",355 "sha256": "3561df02ec413bb22e291b35e4a06227a2e3818ea12b670bd53c05f919936b38",356 "language": "Jupyter",357 "lines": 113,358 "truncated": false,359 "block": 20,360 "row": 7812361 },362 {363 "path": "notebooks/tutorial.py",364 "sha256": "f56b7ab4c99f9efc9c67d93e88da5d444b3803a072b705c4b115f09fb71ff9ce",365 "language": "Python",366 "lines": 56,367 "truncated": false,368 "block": 20,369 "row": 15091370 },371 {372 "path": "setup.py",373 "sha256": "aee156453ec512858a3b249400eb9ae803fe091443b1953063358568d06bb1af",374 "language": "Python",375 "lines": 14,376 "truncated": false,377 "block": 20,378 "row": 12981379 },380 {381 "path": "tests/integration_test.py",382 "sha256": "8563c04bfbcefd52673e441f8ab4d1539472a875137f3528baf3ebde6e21cdc5",383 "language": "Python",384 "lines": 122,385 "truncated": false,386 "block": 20,387 "row": 17799388 },389 {390 "path": "tests/test_downsample.py",391 "sha256": "9fda74f941ad3f49e737b4813481ebd91dab662044a54e9d941884143f003d8f",392 "language": "Python",393 "lines": 23,394 "truncated": false,395 "block": 20,396 "row": 13531397 },398 {399 "path": "tests/test_utils.py",400 "sha256": "aa368f7a13ccfb92e039d3b9339996fd56e090d077baf4cc91bbe509b0ddd77c",401 "language": "Python",402 "lines": 281,403 "truncated": false,404 "block": 20,405 "row": 19712406 }407 ]408}