From 11cbf7c31a12b8882365af94bdb9991f026ce760 Mon Sep 17 00:00:00 2001 From: tcezard Date: Wed, 3 Jul 2024 12:18:35 +0100 Subject: [PATCH] Add statements --- .../gather_clustering_counts/gather_release_counts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eva-accession-release-automation/gather_clustering_counts/gather_release_counts.py b/eva-accession-release-automation/gather_clustering_counts/gather_release_counts.py index 42a615942..e6ecc8c65 100644 --- a/eva-accession-release-automation/gather_clustering_counts/gather_release_counts.py +++ b/eva-accession-release-automation/gather_clustering_counts/gather_release_counts.py @@ -275,6 +275,7 @@ def _write_per_taxonomy_counts(self, session): result = session.execute(query).fetchone() if result: taxonomy_row = result.RSCountPerTaxonomy + self.info(f"Update counts for aggregate per taxonomy {taxonomy_id}") else: self.info(f"Create persistence for aggregate per taxonomy {taxonomy_id}") taxonomy_row = RSCountPerTaxonomy( @@ -314,6 +315,7 @@ def _write_per_assembly_counts(self, session): result = session.execute(query).fetchone() if result: assembly_row = result.RSCountPerAssembly + self.info(f"Update counts for aggregate per assembly {assembly}") else: self.info(f"Create persistence for aggregate per assembly {assembly}") assembly_row = RSCountPerAssembly( @@ -353,6 +355,7 @@ def _write_per_taxonomy_and_assembly_counts(self, session): result = session.execute(query).fetchone() if result: taxonomy_assembly_row = result.RSCountPerTaxonomyAssembly + self.info(f"Update counts for aggregate per taxonomy {taxonomy} and assembly {assembly}") else: self.info(f"Create persistence for aggregate per taxonomy {taxonomy} and assembly {assembly}") taxonomy_assembly_row = RSCountPerTaxonomyAssembly(