I was trying to figure out how to use the add_qc_evaluations_to_docdb function here:
|
def add_qc_evaluations_to_docdb( |
I reached out to Dan, and he said this is only valid for V1 metadata. It sounds like this would corrupt a v2 asset if someone tried to use this against a v2 asset.
Since schema v1 is no longer supported, I don't think we should keep a function that is only valid for v1.
We should either remove this function or add a deprecation warning when it's used.
I was trying to figure out how to use the
add_qc_evaluations_to_docdbfunction here:aind-data-access-api/src/aind_data_access_api/helpers/data_schema.py
Line 187 in d3c204f
I reached out to Dan, and he said this is only valid for V1 metadata. It sounds like this would corrupt a v2 asset if someone tried to use this against a v2 asset.
Since schema v1 is no longer supported, I don't think we should keep a function that is only valid for v1.
We should either remove this function or add a deprecation warning when it's used.