Skip to content

Commit

Permalink
config_soil and config_landuse removed from lookup lists
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisWGeorge committed Jun 9, 2024
1 parent 05ff797 commit d89c5ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions QSWAT3/QSWAT/DBUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,18 +412,18 @@ def populateTableNames(self) -> None:
sql = 'SELECT name FROM sqlite_master WHERE TYPE="table"'
for row in conn.execute(sql):
table = row[0]
if 'landuse' in table:
if 'landuse' in table and table != 'config_landuse':
self.landuseTableNames.append(table)
elif 'soil' in table and 'usersoil' not in table:
elif 'soil' in table and 'usersoil' not in table and table != 'config_soil':
self.soilTableNames.append(table)
self._allTableNames.append(table)

else:
for row in conn.cursor().tables(tableType='TABLE'):
table = row.table_name
if 'landuse' in table:
if 'landuse' in table and table != 'config_landuse':
self.landuseTableNames.append(table)
elif 'soil' in table and 'usersoil' not in table:
elif 'soil' in table and 'usersoil' not in table and table != 'config_soil':
self.soilTableNames.append(table)
self._allTableNames.append(table)
except Exception:
Expand Down
4 changes: 2 additions & 2 deletions QSWAT3/QSWAT3_64.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "QSWAT3_64"
#define MyAppVersion "1.6"
#define MyAppSubVersion "7"
#define MyAppVersion "1.7"
#define MyAppSubVersion "2"
#define MyAppPublisher "SWAT"
#define MyAppURL "https://swat.tamu.edu/"

Expand Down

0 comments on commit d89c5ad

Please sign in to comment.