From d89c5ad1ca362d0c2a0f9ded05baf13770d7700b Mon Sep 17 00:00:00 2001 From: ChrisWGeorge Date: Sun, 9 Jun 2024 16:21:31 +0100 Subject: [PATCH] config_soil and config_landuse removed from lookup lists --- QSWAT3/QSWAT/DBUtils.py | 8 ++++---- QSWAT3/QSWAT3_64.iss | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/QSWAT3/QSWAT/DBUtils.py b/QSWAT3/QSWAT/DBUtils.py index 02a64ab..d1aca12 100644 --- a/QSWAT3/QSWAT/DBUtils.py +++ b/QSWAT3/QSWAT/DBUtils.py @@ -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: diff --git a/QSWAT3/QSWAT3_64.iss b/QSWAT3/QSWAT3_64.iss index 3a220c8..ead3a3d 100644 --- a/QSWAT3/QSWAT3_64.iss +++ b/QSWAT3/QSWAT3_64.iss @@ -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/"