aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-08 05:50:24 +0300
committerFrederick Muriuki Muriithi2024-01-08 05:52:07 +0300
commit951c3c2fd343eec4b3743ac313ad6ce49082dda3 (patch)
treeb215b0b79b1bea5e8a51bd9d37033ed0b47a5fa8 /scripts
parentcace7a50a45c6d227bce52569fcfc2944fbcbe92 (diff)
downloadgn-uploader-951c3c2fd343eec4b3743ac313ad6ce49082dda3.tar.gz
Use extracted functions and fix bugs
Diffstat (limited to 'scripts')
-rw-r--r--scripts/insert_samples.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/insert_samples.py b/scripts/insert_samples.py
index 6b6faf1..8431462 100644
--- a/scripts/insert_samples.py
+++ b/scripts/insert_samples.py
@@ -9,9 +9,8 @@ from redis import Redis
from qc_app.db_utils import database_connection
from qc_app.check_connections import check_db, check_redis
+from qc_app.db import species_by_id, population_by_id
from qc_app.samples import (
- species_by_id,
- population_by_id,
save_samples_data,
read_samples_file,
cross_reference_samples)