Skip to content

unpacking metadata fields  #52

@kurmukovai

Description

@kurmukovai

Many medium datasets, especially those published in nii.gz, provide meta information (such as sex, age, manufacturer, etc.) in the form of a CSV spreadsheet or JSON. Currently, in AMID, we have two ways of unpacking these CSVs and creating dataset fields:

  1. Automatically, e.g., AMOS
  2. Manually, e.g., EGD

The first option is cleaner as it does not require writing repetitive code:

def field_name(_meta):
    return _meta[field_name]

However, the second option results in explicitly defined methods, allowing the addition of docstrings, and visibility in documentation. For instance, right now, AMOS has many fields not visible in the documentation:

image
image
Which of these two options should we prefer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions