phac-nml / irida-next

IRIDA Next
https://phac-nml.github.io/irida-next/
Apache License 2.0
8 stars 3 forks source link

Workflow Submission: Metadata field selection #532

Closed joshsadam closed 5 months ago

joshsadam commented 5 months ago

What does this PR do and why?

Describe in detail what your merge request does and why.

This PR adds the ability for a user to select which metadata field to use for a metadata submission.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other pull requests.

Sample Sheet image

Request payload image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Add the following to private/pipelines/phac-nml/iridanextexample/1.0.2/schema_input.json after reference_assembly:

            "insdc_accession": {
                "type": "string",
                "pattern": "^(SRR|ERR|DRR)\\S+$",
                "meta": ["insdc_accession"],
                "errorMessage": "Must provide a valid accession"
            },
            "country": {
                "type": "string",
                "meta": "country"
            }

PR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

github-actions[bot] commented 5 months ago

Simplecov Report

Covered Threshold
91.88% 90%