Skip to content

Deal with case "Invalid chemical input" #5

@simonsnitz

Description

@simonsnitz

Deal with the case in which the user inputs a name that is gibberish.

  • Make an API request to Pubchem
  • Evaluate whether input is (1) valid (2) returns a 404 or (3) returns an empty list
  • Return a message to the user indicating that the input is invalid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions