From a301873a0414d5b83ece5a7136f6e65706489e26 Mon Sep 17 00:00:00 2001 From: Ben Capodanno Date: Wed, 27 Nov 2024 11:48:26 -0800 Subject: [PATCH 1/2] Fixed: Mapping Backfill Job Setting Current = False for Mapped Variants --- src/mavedb/scripts/populate_mapped_variants.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mavedb/scripts/populate_mapped_variants.py b/src/mavedb/scripts/populate_mapped_variants.py index 8df46f3d..d1adbd42 100644 --- a/src/mavedb/scripts/populate_mapped_variants.py +++ b/src/mavedb/scripts/populate_mapped_variants.py @@ -66,7 +66,11 @@ def populate_mapped_variant_data(db: Session, urns: Sequence[Optional[str]], all try: existing_mapped_variants = ( - db.query(MappedVariant).join(Variant).join(ScoreSet).filter(MappedVariant.current.is_(True)).all() + db.query(MappedVariant) + .join(Variant) + .join(ScoreSet) + .filter(ScoreSet.id == ss_id, MappedVariant.current.is_(True)) + .all() ) for variant in existing_mapped_variants: From 7c951eb835ca565e136b31b6ad55f034a6b2c4af Mon Sep 17 00:00:00 2001 From: Ben Capodanno Date: Tue, 10 Dec 2024 08:59:57 -0800 Subject: [PATCH 2/2] Bump Version Number --- pyproject.toml | 2 +- src/mavedb/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b95efe2c..2a7d8476 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "mavedb" -version = "2024.4.2" +version = "2024.4.3" description = "API for MaveDB, the database of Multiplexed Assays of Variant Effect." license = "AGPL-3.0-only" readme = "README.md" diff --git a/src/mavedb/__init__.py b/src/mavedb/__init__.py index b54c8e43..e01dd0ef 100644 --- a/src/mavedb/__init__.py +++ b/src/mavedb/__init__.py @@ -6,6 +6,6 @@ logger = module_logging.getLogger(__name__) __project__ = "mavedb-api" -__version__ = "2024.4.2" +__version__ = "2024.4.3" logger.info(f"MaveDB {__version__}")