fix logic errors
This commit is contained in:
@@ -240,7 +240,6 @@ REQUIRED_KEYS: dict[str, Any] = {
|
|||||||
"H_FREQ": float,
|
"H_FREQ": float,
|
||||||
|
|
||||||
"EPOCH_HANDLING": str,
|
"EPOCH_HANDLING": str,
|
||||||
"MAX_SHIFT": int,
|
|
||||||
"T_MIN": int,
|
"T_MIN": int,
|
||||||
"T_MAX": int,
|
"T_MAX": int,
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ from PySide6.QtGui import QAction, QKeySequence, QIcon, QIntValidator, QDoubleVa
|
|||||||
from PySide6.QtSvgWidgets import QSvgWidget # needed to show svgs when app is not frozen
|
from PySide6.QtSvgWidgets import QSvgWidget # needed to show svgs when app is not frozen
|
||||||
|
|
||||||
|
|
||||||
CURRENT_VERSION = "1.3.0"
|
CURRENT_VERSION = "1.4.0"
|
||||||
APP_NAME = "flares"
|
APP_NAME = "flares"
|
||||||
API_URL = f"https://git.research.dezeeuw.ca/api/v1/repos/tyler/{APP_NAME}/releases"
|
API_URL = f"https://git.research.dezeeuw.ca/api/v1/repos/tyler/{APP_NAME}/releases"
|
||||||
API_URL_SECONDARY = f"https://git.research2.dezeeuw.ca/api/v1/repos/tyler/{APP_NAME}/releases"
|
API_URL_SECONDARY = f"https://git.research2.dezeeuw.ca/api/v1/repos/tyler/{APP_NAME}/releases"
|
||||||
@@ -4903,7 +4903,7 @@ class MainApplication(QMainWindow):
|
|||||||
self.pending_files_count = 0
|
self.pending_files_count = 0
|
||||||
# Increment session so any 'in-flight' callbacks are ignored
|
# Increment session so any 'in-flight' callbacks are ignored
|
||||||
if hasattr(self, "loading_session_id"):
|
if hasattr(self, "loading_session_id"):
|
||||||
self.last_clicked_bubble += 1
|
self.loading_session_id += 1
|
||||||
|
|
||||||
# Disconnect the buttons to break potential closures
|
# Disconnect the buttons to break potential closures
|
||||||
for btn in [self.button1, self.button3]:
|
for btn in [self.button1, self.button3]:
|
||||||
@@ -5317,7 +5317,7 @@ class MainApplication(QMainWindow):
|
|||||||
checks = [
|
checks = [
|
||||||
("version", "<=1.1.7"),
|
("version", "<=1.1.7"),
|
||||||
("file_metadata", "<=1.2.2"),
|
("file_metadata", "<=1.2.2"),
|
||||||
("file_params", "<=1.3.0")
|
("file_parameters", "<=1.3.0")
|
||||||
]
|
]
|
||||||
|
|
||||||
for key, ver_str in checks:
|
for key, ver_str in checks:
|
||||||
|
|||||||
Reference in New Issue
Block a user