OSCR

Block oscr:b:DY2QN37HKTCW3-J

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:DY2QN37HKTCW3-J
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41592-022-01687-w · its page here
Code
github.com/willtownes/nsf-paper, utils/postprocess.py, lines 40 to 61 (interpret_nonneg)
Commit read
0cacf8352e09d223ab8d4421025195358bbde8df
SWHID
swh:1:cnt:ae5363e6ab1b02522bb88251e9b3cb5a9366cfd5;origin=https://github.com/willtownes/nsf-paper;anchor=swh:1:rev:0cacf8352e09d223ab8d4421025195358bbde8df;path=/utils/postprocess.py;lines=40-61 (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 60 (Methods › Postprocessing nonnegative factorizations)
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:DY2QN37HKTCW3-J (https://openscicode.org/b/oscr:b:DY2QN37HKTCW3-J)
utils/postprocess.py, lines 40 to 61, in github.com/willtownes/nsf-paper (https://github.com/willtownes/nsf-paper), commit 0cacf8352e09d223ab8d4421025195358bbde8df.
Paper: https://doi.org/10.1038/s41592-022-01687-w
SWHID: swh:1:cnt:ae5363e6ab1b02522bb88251e9b3cb5a9366cfd5;origin=https://github.com/willtownes/nsf-paper;anchor=swh:1:rev:0cacf8352e09d223ab8d4421025195358bbde8df;path=/utils/postprocess.py;lines=40-61