microbiomedata / nmdc-schema

National Microbiome Data Collaborative (NMDC) unified data model
https://microbiomedata.github.io/nmdc-schema/
Creative Commons Zero v1.0 Universal
27 stars 8 forks source link

Resolve omics_processing has_output data_object referential integrity exceptions in study nmdc:sty-11-dcqce727 #1894

Closed mbthornton-lbl closed 3 months ago

mbthornton-lbl commented 3 months ago

Resolution here is to find and delete these non-conforming OmicsProcessing documents.

Also resolves #1897

mbthornton-lbl commented 3 months ago

omics_processing_has_output_data_object_exceptions.json

82 Referential Integrity exceptions found from 2 studies:

mbthornton-lbl commented 3 months ago

-[x] @corilo review the `727 study ref integrity failures -[x] @mbthornton-lbl implement a delete query -[x] test on Napa instance

mbthornton-lbl commented 3 months ago

Ran delete_omics_processing_has_output_ref_integrity_exceptions.js without error. Afterwards, re-running data_qc/omics_processing_has_output_data_objects.js found 0 results