chanzuckerberg / cryoet-data-portal-backend

CryoET Data Portal API server & ingestion scripts
MIT License
1 stars 2 forks source link

Schema refactor: ExperimentalMetadata -> ExperimentMetadata and move CrossReferences to metadata.yaml #157

Closed daniel-ji closed 1 month ago

daniel-ji commented 1 month ago

Rename ExperimentalMetadata to ExperimentMetadata because "ExperimentalMetadata" may make it seem like the metadata is not stable and confirmed / ready for use.

Move CrossReferences to metadata.yaml to maintain the role of common.yaml as where the slots exist and metadata.yaml as the schema file that gives structure to all of the common.yaml fields.

Although it says many files were changed, only need to look at common.yaml and metadata.yaml (everything else is auto-gen'd).

Updated Makefile to no longer use pydantic-version flag (it automatically just uses pydantic version 2 now, which is already what we use).