Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • GGCE Server GGCE Server
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GGCEGGCE
  • GGCE ServerGGCE Server
  • Issues
  • #96
Closed
Open
Issue created Aug 12, 2020 by Matija Obreza@mobrezaOwner

Flexible accession and inventoryNumber

Accession#accessionNumber and Inventory#inventoryNumber now use a Java method to generate the full name from name parts 1..3 (or 1..4).

The formatting style of these numbers is a sensitive issue and needs to correspond to current genebank practices.

Example accession number formats:

  • IITA uses a dash - between part1 and part2: TMe-419
  • IRRI uses space : IRGC 123123
  • Some don't use space: PI3232
  • Some use between part2 and part3: TPt-6 A
  • Others use .: ZZZ 531.A

GG-CE should make these separators configurable.

Ideas

We could use MessageFormat and a helper method to format the final string:

accession.number.format={0}-{1} {2}
inventory.number.format={0} {1}.{2} {3}

This would also allow for zero-padding part2 for some genebanks (e.g. ITC0001320).

Edited Aug 12, 2020 by Matija Obreza
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking