Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation to IDs included in dataset params #47

Open
dmgaldi opened this issue Aug 24, 2022 · 1 comment · Fixed by #48
Open

Add validation to IDs included in dataset params #47

dmgaldi opened this issue Aug 24, 2022 · 1 comment · Fixed by #48

Comments

@dmgaldi
Copy link
Contributor

dmgaldi commented Aug 24, 2022

Overview

We've recently had invalid files uploaded as dataset parameters in our WDK sites. These have not been rejected in validation, causing issues downstream. We would like to add basic validation to ensure IDs are restricted to the following characters:

  • [0-9]
  • [a-zA-Z]
  • .
  • -
  • _
  • :
  • (
  • )

We could alternatively wire up a regex parameter in the WDK model, though this would be a more considerable effort.

@aurreco-uga
Copy link
Member

check VEuPathDB/dataset-handler-gene-list#9 for specifc rules we should follow

@aurreco-uga aurreco-uga reopened this Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants