monarch-initiative / phenogrid

The phenogrid widget
13 stars 14 forks source link

phenogrid-format validator #52

Closed nlwashington closed 9 years ago

nlwashington commented 9 years ago

in order for other systems to use phenogrid, we need to provide a validator. this could be a service and/or a standalone tool/script. i think this is really important so that other groups who want to show their comparative data in our grid can, in particular with response to any changes in the way that phenogrid handles the incoming data structure. i, for one, don't know what data in the given owlsim output is required for the grid.

harryhoch commented 9 years ago

Assume you mean a "validate that data as provided is appropriate for phenogrid" validator?

nlwashington commented 9 years ago

yes, a simple tool that parses the data that phenogrid renders, and reports if it fails to:

  1. parse
  2. has required data elements for rendering
harryhoch commented 9 years ago

@davism84 @yuanzhou please close this issue if you add the format validator to test cases.

yuanzhou commented 9 years ago

Added API JSON validation in mocha tests.