Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • P PRIMO
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Social Cognitive SystemsSocial Cognitive Systems
  • PRIMO
  • Merge requests
  • !13

Added support for properties as meta-data

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jan Pöppel requested to merge jpoeppel:properties into master Sep 12, 2017
  • Overview 1
  • Commits 4
  • Changes 6

Created by: jpoeppel

XBIF supports the PROPERTY tag for meta-data on the network, the variable, and the definition level. These changes add an optional flag to the io-methods parse/write called ignoreProperties, which will ignore those fields by default (old behaviour) but which can be set to False, which will result in the properties for the network and for the variables to be stored in a new "meta" attribute. When writing these fields will again be ignored unless otherwise specified.

Since the PROPERTY tag has no structure, we are only storing the plain strings in a list in the meta attributes.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: jpoeppel:properties