ModelSEED / ModelSEEDDatabase

This repository contains the definitive copy of the biochemistry and metadata used to construct models using the ModelSEED/ProbAnno approach
Other
54 stars 38 forks source link

Adding structures #82

Closed samseaver closed 6 years ago

JamesJeffryes commented 6 years ago

@samseaver This broke the tests b/c the JSON schema for compounds must be updated to match the new format. I'll push an update to the branch

samseaver commented 6 years ago

Can you point me to an example code stub that validates a JSON using a schema?

JamesJeffryes commented 6 years ago

@samseaver Here's an example https://github.com/ModelSEED/ModelSEEDDatabase/blob/master/Scripts/Validation/Validate_Compounds_JSON.py#L10

JamesJeffryes commented 6 years ago

Note the switch to using the inchikey instead of structure field to find duplicates will result in new errors and a failing build