childmindresearch / bids2table

Efficiently index large-scale BIDS neuroimaging datasets and derivatives
https://childmindresearch.github.io/bids2table/
MIT License
13 stars 5 forks source link

Higher-level API #17

Closed clane9 closed 1 year ago

clane9 commented 1 year ago

Add a higher level BIDSTable interface inspired by the proposed PyBIDS API redesign.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 95.32% and project coverage change: +1.13% :tada:

Comparison is base (0659536) 91.89% compared to head (84d471a) 93.03%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #17 +/- ## ========================================== + Coverage 91.89% 93.03% +1.13% ========================================== Files 10 10 Lines 432 560 +128 ========================================== + Hits 397 521 +124 - Misses 35 39 +4 ``` | [Files Changed](https://app.codecov.io/gh/cmi-dair/bids2table/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmi-dair) | Coverage Δ | | |---|---|---| | [bids2table/\_\_main\_\_.py](https://app.codecov.io/gh/cmi-dair/bids2table/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmi-dair#diff-YmlkczJ0YWJsZS9fX21haW5fXy5weQ==) | `94.73% <ø> (ø)` | | | [bids2table/extractors/image.py](https://app.codecov.io/gh/cmi-dair/bids2table/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmi-dair#diff-YmlkczJ0YWJsZS9leHRyYWN0b3JzL2ltYWdlLnB5) | `81.39% <75.00%> (-1.54%)` | :arrow_down: | | [bids2table/\_b2t.py](https://app.codecov.io/gh/cmi-dair/bids2table/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmi-dair#diff-YmlkczJ0YWJsZS9fYjJ0LnB5) | `89.74% <82.35%> (ø)` | | | [bids2table/table.py](https://app.codecov.io/gh/cmi-dair/bids2table/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmi-dair#diff-YmlkczJ0YWJsZS90YWJsZS5weQ==) | `95.91% <95.91%> (ø)` | | | [bids2table/\_\_init\_\_.py](https://app.codecov.io/gh/cmi-dair/bids2table/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmi-dair#diff-YmlkczJ0YWJsZS9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [bids2table/entities.py](https://app.codecov.io/gh/cmi-dair/bids2table/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmi-dair#diff-YmlkczJ0YWJsZS9lbnRpdGllcy5weQ==) | `96.27% <100.00%> (ø)` | | | [bids2table/extractors/bids.py](https://app.codecov.io/gh/cmi-dair/bids2table/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmi-dair#diff-YmlkczJ0YWJsZS9leHRyYWN0b3JzL2JpZHMucHk=) | `89.65% <100.00%> (ø)` | | | [bids2table/extractors/inheritance.py](https://app.codecov.io/gh/cmi-dair/bids2table/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmi-dair#diff-YmlkczJ0YWJsZS9leHRyYWN0b3JzL2luaGVyaXRhbmNlLnB5) | `91.17% <100.00%> (ø)` | | | [bids2table/extractors/metadata.py](https://app.codecov.io/gh/cmi-dair/bids2table/pull/17?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cmi-dair#diff-YmlkczJ0YWJsZS9leHRyYWN0b3JzL21ldGFkYXRhLnB5) | `91.17% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.