Where can I find my capsule's DOI?
A published capsule's DOI is available in its metadata page.
When are DOIs minted?
After publication. See Code Ocean's verification process for computational reproducibility for more on the publication process.
How do I know the capsule's DOI before publication?
Code Ocean DOIs take the following form:
10.24433/CO.<slug>.v<version>
(for example: 10.24433/CO.8419810.v1).
The 'slug' is the the seven number string in a capsule's URL after the word capsule
. For example, if the URL is https://codeocean.com/capsule/9859661/tree, the slug is 9859661.
The version is whichever version you are currently publishing, v1
by default. When your capsule is published, its slug – that is, the private capsule's slug – is used to generate the DOI for the published capsule.
Prior to February 2019, capsule DOIs looked different, for examplw https://doi.org/10.24433/CO.0a812d9b-0ff3-4eb7-825f-76d3cd049a43. They were shortened for simplicity.
Are DOIs assigned at the capsule level or the level of individual files?
DOIs are assigned at the capsule level, encompassing code, data, metadata and environment.
If I update my capsule, will it get a new DOI?
Yes. Updating your compute capsule will yield a new DOI; v1
will become .v2
, .v3
, etc.
How are DOIs minted?
DOIs are generated using DataCite.