OSCR

Block oscr:b:S31GY7SAGJFXF-E

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:S31GY7SAGJFXF-E
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1016/j.crmeth.2025.100989 · its page here
Code
github.com/zudi-lin/pytorch_connectomics, connectomics/models/losses/build.py, lines 57 to 90 (_get_loss_registry)
Commit read
0a6e4c680d12a9fef59ae9576ac0a251181313e0
SWHID
swh:1:cnt:e56a1f1b8df7f2dd3cb9fb5e7e8363d998940007;origin=https://github.com/zudi-lin/pytorch_connectomics;anchor=swh:1:rev:0a6e4c680d12a9fef59ae9576ac0a251181313e0;path=/connectomics/models/losses/build.py;lines=57-90 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 48 (STAR★Methods › Method details › Automated mitochondrial segmentation)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:S31GY7SAGJFXF-E (https://openscicode.org/b/oscr:b:S31GY7SAGJFXF-E)
connectomics/models/losses/build.py, lines 57 to 90, in github.com/zudi-lin/pytorch_connectomics (https://github.com/zudi-lin/pytorch_connectomics), commit 0a6e4c680d12a9fef59ae9576ac0a251181313e0.
Paper: https://doi.org/10.1016/j.crmeth.2025.100989
SWHID: swh:1:cnt:e56a1f1b8df7f2dd3cb9fb5e7e8363d998940007;origin=https://github.com/zudi-lin/pytorch_connectomics;anchor=swh:1:rev:0a6e4c680d12a9fef59ae9576ac0a251181313e0;path=/connectomics/models/losses/build.py;lines=57-90