Skip to content

Commit 7c2c9fd

Browse files
authored
Add files via upload
1 parent 87b6e63 commit 7c2c9fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recplot_database_carlos_genes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def sqldb_creation(contigs, mags, sample_reads, map_format, database):
6767

6868
#Clean out the old DB to begin with; effectively reinitialize.
6969
for table in tables:
70-
cursor.execute('DROP TABLE '+ table)
70+
cursor.execute('DROP TABLE IF EXISTS '+ table)
7171

7272
# Create lookup table (always creates a new one)
7373
cursor.execute('DROP TABLE IF EXISTS lookup_table')

0 commit comments

Comments
 (0)