khughitt / EuPathDB

EuPathDB recipe for the Bioconductor AnnotationHub
2 stars 4 forks source link

EOFs sneaking into results from posting to the new webservices #33

Open abelew opened 3 years ago

abelew commented 3 years ago

Hi Keith, If you would like a puzzle, there appear to be EOFs finding their ways into the middle of results from various queries; but I haven't figured out where/why. Once upon a time I wrote a check for this in the old implementation.

khughitt commented 3 years ago

That's strange.. Could it be related to overly-long or otherwise failing API requests?

One thing I've been using a lot lately and really liking is JSON schema (via cerberus mainly, but other libraries exist..)

Perhaps we could contact the EuPathDB dev's and see if they could provide us with a set of schemas we could use for validation? At least that way we could be sure that it is not an issue coming from upstream.