OSCR

Block oscr:b:1EW7ZCBYY1XZH-M

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:1EW7ZCBYY1XZH-M
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41597-025-05543-2 · its page here
Code
github.com/wtclarke/spec2nii, spec2nii/GE/ge_pfile.py, lines 303 to 443 (_process_hbcd)
Commit read
c5d9d1288060695d95cf83b2661acada2f1bba14
SWHID
swh:1:cnt:f0c240bf9842f3dac3d6afdfbc12382dbff8c920;origin=https://github.com/wtclarke/spec2nii;anchor=swh:1:rev:c5d9d1288060695d95cf83b2661acada2f1bba14;path=/spec2nii/GE/ge_pfile.py;lines=303-443 (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 20 (JSON Sidecar Files › MRS-relevant fields)
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:1EW7ZCBYY1XZH-M (https://openscicode.org/b/oscr:b:1EW7ZCBYY1XZH-M)
spec2nii/GE/ge_pfile.py, lines 303 to 443, in github.com/wtclarke/spec2nii (https://github.com/wtclarke/spec2nii), commit c5d9d1288060695d95cf83b2661acada2f1bba14.
Paper: https://doi.org/10.1038/s41597-025-05543-2
SWHID: swh:1:cnt:f0c240bf9842f3dac3d6afdfbc12382dbff8c920;origin=https://github.com/wtclarke/spec2nii;anchor=swh:1:rev:c5d9d1288060695d95cf83b2661acada2f1bba14;path=/spec2nii/GE/ge_pfile.py;lines=303-443