This PR will add a testing file to check the contents of each data file under _data. I'm not sure if this repo has github actions so I waited on adding a workflow, but (whatever service we add) we would basically need to install pyaml, pytest, and then run:
I've also added notes in the README about expected fields and formatting so there aren't surprises. I noticed that some files have "extra" fields that are custom/specific to them, and I didn't error/fail these tests, but likely this should be addressed in some way (likely we should decide on a specific set of officially supported fields and error if extras are found).
This will close #39, and of course we will also need to have this run automated with CI (per preference of @jamespjh )
This PR will add a testing file to check the contents of each data file under _data. I'm not sure if this repo has github actions so I waited on adding a workflow, but (whatever service we add) we would basically need to install pyaml, pytest, and then run:
I've also added notes in the README about expected fields and formatting so there aren't surprises. I noticed that some files have "extra" fields that are custom/specific to them, and I didn't error/fail these tests, but likely this should be addressed in some way (likely we should decide on a specific set of officially supported fields and error if extras are found).
This will close #39, and of course we will also need to have this run automated with CI (per preference of @jamespjh )
Signed-off-by: Vanessa Sochat vsochat@stanford.edu