aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-05-30 13:50:24 -0500
committerFrederick Muriuki Muriithi2025-05-30 13:50:24 -0500
commit1459ecc1de040f4b6d94ce8d056e207e14028f87 (patch)
tree861df1bdb51d18732b42b5d527a05614aa92ce23
parent9ac2a0adcc8170a476e4bfb9c3d0222f1b5566e2 (diff)
downloadgn-uploader-1459ecc1de040f4b6d94ce8d056e207e14028f87.tar.gz
Add more tables to lock list.
-rw-r--r--scripts/load_phenotypes_to_db.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/load_phenotypes_to_db.py b/scripts/load_phenotypes_to_db.py
index 5ccb5c6..93956f8 100644
--- a/scripts/load_phenotypes_to_db.py
+++ b/scripts/load_phenotypes_to_db.py
@@ -316,9 +316,14 @@ if __name__ == "__main__":
# https://oracle-base.com/articles/mysql/mysql-identify-locked-tables
# `SHOW OPEN TABLES LIKE 'Publish%';`
_db_tables_ = (
+ "Species",
+ "InbredSet",
+ "Strain",
+ "StrainXRef",
"Publication",
"Phenotype",
"PublishXRef",
+ "PublishFreeze",
"PublishData",
"PublishSE",
"NStrain")