kjczarne / metaframe

Metadata files to Pandas Dataframes
3 stars 0 forks source link

Internal repr #15

Open kjczarne opened 4 months ago

kjczarne commented 4 months ago

I've used warlock and replaced most of the prior JSONSchema validation code. warlock wraps around JSONSchema and is capable of creating ad-hoc classes and do validation in the background. The internal representation that we will be using can be basically thought of as a dict with built-in schema validation.

I want to maintain this representation without flattening things whenever the user wants to use the run command from the reader module. I have left most of the behavior pertaining to filtering by query unchanged, so they are at the moment Pandas-specific.

github-actions[bot] commented 4 months ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
309 204 66% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
src/mdframe/analysis.py 41% 🟢
src/mdframe/reader.py 67% 🟢
test/test_analysis.py 83% 🟢
test/test_read.py 95% 🟢
TOTAL 72% 🟢

updated for commit: 0f35a3e by action🐍