Skip to content

DOIs for inventories

This adds support for DOIs to be assigned to inventories. Inventories must not use the same DOI as their accession, but they can have their own DOI which is registered as follows:

An inventory can only get a DOI if the accession has a DOI. The accession data is used to create the request, the only differences are:

  • sampleId needs to be inventory.inventoryNumber
  • date is set to inventory.propagationDate
  • method = ihva (a more generic version of ihcp)

If the inventory has a parent inventory (anywhere in the tree) with a DOI, then that DOI is used as the Progenitor DOI progdoi. In all other cases, the DOI of the accession is used.

Please add an inventory endpoint similar to that of accession to assign DOI:

  • Check that the user has admin role or has manage permission on InventoryData on the site of the inventory.
  • If inventory has a DOI, ensure that inventory DOI is not the same as that of its accession inventory.doi != inventory.accession.doi.

UI updates

Add Submit to GLIS action to inventory details page and to inventory browse page. The button is only visible if the user has manage permission on InventoryData on the site of the inventory.

Edited by Matija Obreza
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information