Closed kaitj closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.84%. Comparing base (
0818498
) to head (bc89013
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is perfect, thanks @kaitj!
This PR changes label generation (i.e. QC metrics) from the static metrics defined in
niftyone.labels
to using Fiftyone'sDynamicEmbeddedDocument
object and settingdynamic=True
for dynamically adding labels to the dataset as they are encountered. The label groups are determined by the BIDS suffix (e.g. T1w, Bold, etc.) and prepended with "QC". Additionally, the metrics are pulled from the headers of the group metric file, while the values are still being pulled from the rows.Also removed the
niftyone.labels
sub-module since it is no longer needed.