OSCR

Block oscr:b:VZYB1FNBKJ775-T

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:VZYB1FNBKJ775-T
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-022-28854-z · its page here
Code
github.com/li-shen-amy/behavior, mouse_tracking/python_code/Batch_PlacePreference_Offline.py, lines 1 to 79
Commit read
7e82025aff0691c7f36bbea38a97349468bc3c4e
SWHID
swh:1:cnt:6e4606f07995f91f81e840b19d8b7917a2310d26;origin=https://github.com/li-shen-amy/behavior;anchor=swh:1:rev:7e82025aff0691c7f36bbea38a97349468bc3c4e;path=/mouse_tracking/python_code/Batch_PlacePreference_Offline.py;lines=1-79 (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 44 (Methods › Real-time animal detection and closed-loop optogenetic control)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-16

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:VZYB1FNBKJ775-T (https://openscicode.org/b/oscr:b:VZYB1FNBKJ775-T)
mouse_tracking/python_code/Batch_PlacePreference_Offline.py, lines 1 to 79, in github.com/li-shen-amy/behavior (https://github.com/li-shen-amy/behavior), commit 7e82025aff0691c7f36bbea38a97349468bc3c4e.
Paper: https://doi.org/10.1038/s41467-022-28854-z
SWHID: swh:1:cnt:6e4606f07995f91f81e840b19d8b7917a2310d26;origin=https://github.com/li-shen-amy/behavior;anchor=swh:1:rev:7e82025aff0691c7f36bbea38a97349468bc3c4e;path=/mouse_tracking/python_code/Batch_PlacePreference_Offline.py;lines=1-79