intel / p3-analysis-library

A library simplifying the collection and interpretation of P3 data.
https://intel.github.io/p3-analysis-library/
MIT License
7 stars 10 forks source link

Fix: Allow validation of both JSON strings and objects #61

Closed Chri1607 closed 1 week ago

Chri1607 commented 1 month ago

Updated the _validate_coverage_data function to handle both JSON strings and objects.

Changes:

Modified p3/data/_validation.py to validate both JSON strings and objects. Updated imports and function calls in p3/metrics/_divergence.py. Adjusted tests in tests/data/test_validation.py to cover both cases.

Pennycook commented 2 weeks ago

@Chri1607 - It's been a few weeks since you opened this PR. Are you still interested in contributing?

Pennycook commented 1 week ago

Closing as stale. @Chri1607, if you're still interested in contributing, please re-open this pull request.