Skip to content

Receive and Interpret Validation Response #815

@CaitlinOCallaghan

Description

@CaitlinOCallaghan

If ' unrecognized [] ' && ' duplicate [] ' empty, continue to analysis ( do nothing for now )
If arrays !empty, provide user feedback indicating invalidity (unrecognized and/or duplicates)

  • underline tokens violating input conventions
  • pop up message indicating type of invalidity
    if multiple instances of same type of infraction, only provide one message
    if input token count < 4, ask for larger input

Test cases:

  1. All valid
    genes: [
    "TP53",
    "ATM",
    "MCM3",
    "XPO1"
    ]

  2. One unrecognized
    genes: [
    "notAGene",
    "TP53",
    "ATM",
    "MCM3",
    ]

  3. One set duplicate
    genes: [
    "TP53",
    "TP53",
    "ATM",
    "MCM3",
    ]

  4. One set duplicate and one unrecongnized
    genes: [
    "notAGene",
    "TP53",
    "TP53",
    "ATM",
    ]

  5. All valid, but not enough tokens
    genes: [
    "TP53",
    "ATM",
    "MCM3",
    ]

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions