OSCR

Block oscr:b:N4122HPTEYRE0-L

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:N4122HPTEYRE0-L
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-023-44271-2 · its page here
Code
github.com/zhijian-yang/genesgan, GeneSGAN/model.py, lines 20 to 44 (sample_z_categorical)
Commit read
26d2cdd0aedd19ecc4a102e9a30fc0d22684392c
SWHID
swh:1:cnt:3951328ccadebd038615a58bf038fbd967aa1824;origin=https://github.com/zhijian-yang/genesgan;anchor=swh:1:rev:26d2cdd0aedd19ecc4a102e9a30fc0d22684392c;path=/GeneSGAN/model.py;lines=20-44 (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 42 (Methods › Method 1. The Gene-SGAN model › Phenotype step); paragraph 71 (Methods › Method 6. Semi-synthetic experiments › The transformation function for)
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:N4122HPTEYRE0-L (https://openscicode.org/b/oscr:b:N4122HPTEYRE0-L)
GeneSGAN/model.py, lines 20 to 44, in github.com/zhijian-yang/genesgan (https://github.com/zhijian-yang/genesgan), commit 26d2cdd0aedd19ecc4a102e9a30fc0d22684392c.
Paper: https://doi.org/10.1038/s41467-023-44271-2
SWHID: swh:1:cnt:3951328ccadebd038615a58bf038fbd967aa1824;origin=https://github.com/zhijian-yang/genesgan;anchor=swh:1:rev:26d2cdd0aedd19ecc4a102e9a30fc0d22684392c;path=/GeneSGAN/model.py;lines=20-44