aboutsummaryrefslogtreecommitdiff
path: root/uploader/expression_data
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/expression_data')
-rw-r--r--uploader/expression_data/index.py2
-rw-r--r--uploader/expression_data/rqtl2.py1
-rw-r--r--uploader/expression_data/samples.py1
3 files changed, 3 insertions, 1 deletions
diff --git a/uploader/expression_data/index.py b/uploader/expression_data/index.py
index 799989e..db23136 100644
--- a/uploader/expression_data/index.py
+++ b/uploader/expression_data/index.py
@@ -14,7 +14,7 @@ from flask import (
render_template,
current_app as app)
-from uploader.db import species
+from uploader.species.models import all_species as species
from uploader.authorisation import require_login
from uploader.db_utils import with_db_connection
diff --git a/uploader/expression_data/rqtl2.py b/uploader/expression_data/rqtl2.py
index 48df66c..975fc1f 100644
--- a/uploader/expression_data/rqtl2.py
+++ b/uploader/expression_data/rqtl2.py
@@ -41,6 +41,7 @@ from uploader.db import (
save_population,
populations_by_species,
population_by_species_and_id,)
+from uploader.species.models import species_by_id
from uploader.db.datasets import (
geno_dataset_by_id,
geno_datasets_by_species_and_population,
diff --git a/uploader/expression_data/samples.py b/uploader/expression_data/samples.py
index 95b9b73..0715d14 100644
--- a/uploader/expression_data/samples.py
+++ b/uploader/expression_data/samples.py
@@ -34,6 +34,7 @@ from uploader.db import (
population_by_id,
populations_by_species,
species as fetch_species)
+from uploader.species.models import species_by_id, all_species as fetch_species
samples = Blueprint("samples", __name__)