Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1736 add associated_studies to biosample #79

Merged
merged 7 commits into from
Jan 31, 2024

Conversation

brynnz22
Copy link
Collaborator

@brynnz22 brynnz22 commented Jan 26, 2024

This PR models the Biosample class the same as the we did for the DataGeneration class and parthood. It removes the part_of slot from Biosample and instead uses the associated_studies slot we created to link studies to their biosamples.

For issue: microbiomedata#1736

@brynnz22 brynnz22 added migration-needed After applying this schema change, some valid data may become invalid. Data migration is required. migrator-written a migrator script has been written addressing the PR/schema change labels Jan 26, 2024
@brynnz22 brynnz22 self-assigned this Jan 26, 2024
Copy link
Collaborator

@aclum aclum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@turbomam to weigh in here but I think we'd want associated_studies to be required: true globally, otherwise data portal code won't work. I see you took part_of out as required but that looked like it was just locally defined as required.

@brynnz22
Copy link
Collaborator Author

@aclum I don't see a comment from @turbomam. Maybe I missed it? But that is a good point. I made associated_studies globally required.

@brynnz22 brynnz22 merged commit 22ba425 into main Jan 31, 2024
2 checks passed
@brynnz22 brynnz22 deleted the 1736-add-associated-studies-Biosample branch January 31, 2024 21:23
@brynnz22 brynnz22 changed the title 1736 add associated studies to biosample 1736 add associated_studies to biosample Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migration-needed After applying this schema change, some valid data may become invalid. Data migration is required. migrator-written a migrator script has been written addressing the PR/schema change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants