Skip to content

Pipeline configuration: introduce metadata_entity parameter type #4189

@SilinPavel

Description

@SilinPavel

It would be useful to have a preset parameter type, that allows user to select a value from some predefined list, that will be populated to the multiple configuration parameters.

Let's introduce metadata_entity parameter type:

"<parameter-name>": {
        "type": "metatada_entity",
        "value": "<external_id>",
        "multiple" : true,
        "metadataConfig": {
            "folderId": "11624 (optional)",
            "metadataClass": "genomes",
            "nameField": "Name",
            "params": {
                "PARAM_FASTA": "FASTA",
                "PARAM_GTF": "GTF",
                "PARAM_GTF2": "ADDITIONAL_GTF",
                "PARAM_ASDASDADSASD": "EXTRA"
            }
        }
      }
  • A list of metadata entities of metadataConfig.metadataClass of the metadataConfig.folderId metadata should be displayed for that parameter
  • If user selects a metadata entity, a list of parameters metadataConfig.params should be created with corresponding entities fields values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions