OpenHumans / open-humans

Powering openhumans.org
https://www.openhumans.org/
MIT License
73 stars 22 forks source link

Add validation to enforce FASTQ upload for uBiome #507

Closed beaugunderson closed 6 years ago

madprime commented 8 years ago

On the website's upload form, immediately check that the user actually uploaded a file. (Consider adding additional validation here as well: ends with ".zip"? Open archive, all files end with ".fastq.gz"?)

I'm also updating this issue to add that we should remove collection of the date and site properties. This is now included in the JSON from uBiome.

madprime commented 8 years ago

Like done here, overriding validate_upload https://github.com/PersonalGenomesOrg/open-humans/blob/b193209e7b91928745793c90421856106cdc922e/activities/illumina_uyg/views.py#L44

gedankenstuecke commented 6 years ago

this is now done inside the uBiome integration.