Sage-Bionetworks / schematic

Package for biomedical data model and metadata ingress management
https://schematicpy.readthedocs.io/en/stable/cli_reference.html
MIT License
22 stars 25 forks source link

schematic: handle cases where Component is not present in manifest #694

Closed milen-sage closed 2 years ago

milen-sage commented 2 years ago

Currently, in store/synapse.py this line assumes Component is present in every manifest; similarly lines below require the presence of 'Component'. In the future, it's possible we can assume that. However, at the moment for backward compatibility, submissions of manifests can proceed even if the Component columns is not in a manifest.

This will partly address the issue here.

mialy-defelice commented 2 years ago

@milen-sage I think you accidentally left out a link here:

Currently, in store/synapse.py this line assumes

milen-sage commented 2 years ago

@mialy-defelice thanks for spotting. I added the link :)