hubmapconsortium / ingest-validation-tools

HuBMAP data submission guidelines, and tools which check that submissions adhere to those guidelines.
MIT License
8 stars 18 forks source link

Upload.multi_parent logging fix #1340

Closed gesinaphillips closed 4 months ago

gesinaphillips commented 4 months ago

Fixes the issue where the PreflightError contained the entire SchemaVersion (including all TSV rows) if multiple parent type TSVs were found when getting the self.multi_parent value. Will now just log the dataset types of the offending TSVs.

Added a test for Upload.multi_parent because I am trying to more opportunistically add tests.