Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B BrainBox
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 47
    • Issues 47
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Roberto José TORO OLMEDO
  • BrainBox
  • Issues
  • #36

Closed
Open
Created Oct 04, 2016 by Roberto José TORO OLMEDO@rtoOwner

update the structure of the mri objects in the DB to deal with volume and text annotations in the same way

Created by: r03ert0

The mri object in the DB looks currently like this:

mri: {
  atlas: [
    { owner:, created:, modified:, access:, type:, filename:, labels:, project:, name:}
  ],
  annotations: {
    thing1:,
    thing2:,
    ...
  }
}

atlas means in fact annotations of type volume, and annotations means annotations of type text (and in the future there may be more type of annotations added).

The mri structure should be the same for any type of annotation. Like this:

mri: {
  annotations: [
    { owner:, created:, modified:, access:, type:, filename:, values:, project:, name:}
  ]
}

(the labels field will then just be replaced by the values field when type is volume)

Assignee
Assign to
Time tracking