Compare commits
2 Commits
c6bd99cc74
...
77882fe74c
| Author | SHA1 | Date | |
|---|---|---|---|
| 77882fe74c | |||
| 3dd61f4641 |
@ -1121,7 +1121,7 @@ class MainWindow_resp_quality_label(QMainWindow):
|
||||
Config["Filter"]["BandPassHigh"] = self.ui.doubleSpinBox_fillterMode_custom_high.value()
|
||||
|
||||
def toggle_home(self):
|
||||
if Config["CurrentPartNum"] is None:
|
||||
if Config["CurrentPartNum"] is not None:
|
||||
self.ax1.autoscale(True)
|
||||
self.ax1.relim()
|
||||
self.ax1.autoscale_view()
|
||||
|
||||
@ -178,8 +178,8 @@ class PublicFunc:
|
||||
|
||||
@staticmethod
|
||||
def examine_file(path_str, filename, suffix):
|
||||
temp_path = list(
|
||||
Path(path_str).glob(f"{filename}*"))
|
||||
temp_path = [p for p in Path(path_str).glob(f"{filename}*") if p.stem.startswith(filename) and p.suffix == suffix]
|
||||
|
||||
if len(temp_path) == 0:
|
||||
return Result().failure(
|
||||
info=Constants.INPUT_FAILURE + "\n" +
|
||||
|
||||
Reference in New Issue
Block a user