Skip to content

Refactor and improve kb_tests.py #267

Description

@dosumis
  1. Currently this script runs against all datasets (or all with schema = ['image']). We need t be able to run against single datasets, specified in Command Line arg, as well as against all. It should be easy to do this by refactoring to runner a script (with argparse) + a separate file of functions.

  2. Logging -> reports is a bit of an ad hoc mess right now. Should be refactored to nicely structured JSON with standard keys for test name, number of failing inds + list of failing inds.

With these improvements in place, we should look at running in Jenkins - coupled to curation loading (dataset names can be extracted from curation record YAML files)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions