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__}") 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: