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(