OSCR

Block oscr:b:872TZPD3GN0PY-0

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:872TZPD3GN0PY-0
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41588-025-02120-6 · its page here
Code
github.com/lotfollahi-lab/nichecompass, src/nichecompass/modules/vgpgae.py, lines 32 to 145 (VGPGAE)
Commit read
5bf7d2a09e70bd490c59e978e37f4df30f812994
SWHID
swh:1:cnt:00e30911cfcddec53862108e8fafca32f6a46863;origin=https://github.com/lotfollahi-lab/nichecompass;anchor=swh:1:rev:5bf7d2a09e70bd490c59e978e37f4df30f812994;path=/src/nichecompass/modules/vgpgae.py;lines=32-145 (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 55 (Methods › NicheCompass model › Encoder); paragraph 62 (Methods › NicheCompass model › Loss function)
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:872TZPD3GN0PY-0 (https://openscicode.org/b/oscr:b:872TZPD3GN0PY-0)
src/nichecompass/modules/vgpgae.py, lines 32 to 145, in github.com/lotfollahi-lab/nichecompass (https://github.com/lotfollahi-lab/nichecompass), commit 5bf7d2a09e70bd490c59e978e37f4df30f812994.
Paper: https://doi.org/10.1038/s41588-025-02120-6
SWHID: swh:1:cnt:00e30911cfcddec53862108e8fafca32f6a46863;origin=https://github.com/lotfollahi-lab/nichecompass;anchor=swh:1:rev:5bf7d2a09e70bd490c59e978e37f4df30f812994;path=/src/nichecompass/modules/vgpgae.py;lines=32-145