diff options
-rw-r--r-- | gn3/db/phenotypes.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gn3/db/phenotypes.py b/gn3/db/phenotypes.py index 6c6e61b..0339aba 100644 --- a/gn3/db/phenotypes.py +++ b/gn3/db/phenotypes.py @@ -188,8 +188,7 @@ def update_cross_reference(conn, dataset_id, trait_name, data:dict) -> int: cursor.execute( f"UPDATE PublishXRef SET {cols} WHERE " "Id=%(trait_name)s AND " - "InbredSetId=" - "(SELECT InbredSetId FROM PublishFreeze WHERE Id=%(dataset_id)s)", + "InbredSetId=%(dataset_id)s", { "dataset_id": dataset_id, "trait_name": trait_name, |