aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2022-02-25 12:47:23 +0300
committerBonfaceKilz2022-03-12 15:33:01 +0300
commitf51287f155a95b5ec1824ebb1f402d044f47524e (patch)
treea18d676be3052c08a0906c05af7a54a0080ac28e
parent033e4ce445d7d11477cf002762c52df716a50baf (diff)
downloadgenenetwork2-f51287f155a95b5ec1824ebb1f402d044f47524e.tar.gz
Replace `db.traits` with `db.sample_data`
* wqflask/wqflask/metadata_edits.py: Replace imports that start with `db.traits` with `db.sample_data`.
-rw-r--r--wqflask/wqflask/metadata_edits.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py
index 87aa9d06..4bc2c194 100644
--- a/wqflask/wqflask/metadata_edits.py
+++ b/wqflask/wqflask/metadata_edits.py
@@ -43,11 +43,10 @@ from gn3.db.phenotypes import Probeset
from gn3.db.phenotypes import Publication
from gn3.db.phenotypes import PublishXRef
from gn3.db.phenotypes import probeset_mapping
-from gn3.db.traits import get_trait_csv_sample_data
-from gn3.db.traits import update_sample_data
-from gn3.db.traits import delete_sample_data
-from gn3.db.traits import insert_sample_data
-from wqflask.database import database_connection
+from gn3.db.sample_data import get_trait_csv_sample_data
+from gn3.db.sample_data import update_sample_data
+from gn3.db.sample_data import delete_sample_data
+from gn3.db.sample_data import insert_sample_data
metadata_edit = Blueprint('metadata_edit', __name__)