From b4caed11f5c1a302b620c3fbea4fda64b09ee600 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 16 Feb 2022 15:08:41 +0300 Subject: Revert "db: Fetch correct sample data" This reverts commit 710769e84b3bc6a2bdd66effdbac0659272ed511. --- gn3/db/traits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/db') diff --git a/gn3/db/traits.py b/gn3/db/traits.py index 6f979d8..f82beb0 100644 --- a/gn3/db/traits.py +++ b/gn3/db/traits.py @@ -771,7 +771,7 @@ def retrieve_publish_trait_data(trait_info: Dict, conn: Any): "AND NStrain.StrainId = PublishData.StrainId) " "WHERE PublishData.Id = PublishXRef.DataId " "AND PublishXRef.Id = %(trait_name)s " - "AND PublishXRef.PhenotypeId = %(dataset_id)s " + "AND PublishXRef.InbredSetId = %(dataset_id)s " "AND PublishData.StrainId = Strain.Id " "ORDER BY Strain.Name") with conn.cursor() as cursor: -- cgit v1.2.3