OSCR

Block oscr:b:GZFHMFV9N5J20-H

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:GZFHMFV9N5J20-H
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.3390/molecules31111972 · its page here
Code
github.com/haoran-fan/bondformer, scripts/preprocess.py, lines 46 to 62 (process_undirected)
Commit read
5b5028ee4f3b0df07ee10bc5bb9cd174b59f8366
SWHID
swh:1:cnt:2d64a026ed8d1982f01b16220e507bcb0fe8b07d;origin=https://github.com/haoran-fan/bondformer;anchor=swh:1:rev:5b5028ee4f3b0df07ee10bc5bb9cd174b59f8366;path=/scripts/preprocess.py;lines=46-62 (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 (3. Materials and Methods › 3.1. Methodology › 3.1.1. Preliminary)
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:GZFHMFV9N5J20-H (https://openscicode.org/b/oscr:b:GZFHMFV9N5J20-H)
scripts/preprocess.py, lines 46 to 62, in github.com/haoran-fan/bondformer (https://github.com/haoran-fan/bondformer), commit 5b5028ee4f3b0df07ee10bc5bb9cd174b59f8366.
Paper: https://doi.org/10.3390/molecules31111972
SWHID: swh:1:cnt:2d64a026ed8d1982f01b16220e507bcb0fe8b07d;origin=https://github.com/haoran-fan/bondformer;anchor=swh:1:rev:5b5028ee4f3b0df07ee10bc5bb9cd174b59f8366;path=/scripts/preprocess.py;lines=46-62