changeset 4:3c6514d810ae draft

Uploaded
author greg
date Fri, 25 May 2018 10:46:18 -0400
parents 48c13482e6c9
children cb986be6355e
files gene_family_scaffold_loader.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gene_family_scaffold_loader.py	Fri May 25 10:21:45 2018 -0400
+++ b/gene_family_scaffold_loader.py	Fri May 25 10:46:18 2018 -0400
@@ -370,6 +370,8 @@
                 self.flush()
                 gene_id_db = cur.fetchone()[0]
                 gi += 1
+                if gi % 1000 == 0:
+                    self.log("Inserted 1000 more rows into the plant_tribes_gene table.")
             # Insert a row into the gene_scaffold_orthogroup_association table.
             # Get the scaffold_rec for the current scaffold_id and clustering_method.
             # The list is [<scaffold_id_db>, <scaffold_id>, <clustering_method>]