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

add sample to delete.py and meta.py #41

Merged
merged 4 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions kf_utils/dataservice/delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"participants",
"family-relationships",
"families",
"sample",
Copy link
Member

@znatty22 znatty22 Jun 10, 2024

Choose a reason for hiding this comment

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

This list is in a specific order for deletion to work w the fk references, so you'd have to move sample to be above participants and also change it to samples

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok thank you i fixed that!

]
STUDIES = "studies"
LOCAL_HOSTS = {
Expand Down
1 change: 1 addition & 0 deletions kf_utils/dataservice/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"PT": "participants",
"RF": "read-group-genomic-files",
"RG": "read-groups",
"SA": "sample",
calkinsh marked this conversation as resolved.
Show resolved Hide resolved
"SC": "sequencing-centers",
"SD": "studies",
"SE": "sequencing-experiments",
Expand Down