Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • nomad-FAIR nomad-FAIR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 325
    • Issues 325
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 48
    • Merge requests 48
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nomad-labnomad-lab
  • nomad-FAIRnomad-FAIR
  • Issues
  • #834

Support for inheriting sections

In the metainfo one section definition can extend another one through inheritance. A section definition defines other section definitions as base_sections. This is similar to class inheritance in programming. A sub section definition can denote a (potentially "abstract") section definition. When this is instantiated an inheriting section can be used for this sub section definition. This is similar to polymorphy in programming.

  • simplify the programming of navigation across inheritance hierarchies with additional properties like all_base_section, inheriting_sections, and all_inheriting_sections (both in python and js)
  • the metainfo browser shows inheriting sections
  • the ELN editing in the archive browser allows to create sub-sections based on available inheriting sections
Edited Jun 14, 2022 by Markus Scheidgen
Assignee
Assign to
Time tracking