cbmi-group / DeepETPicker

GNU General Public License v3.0
22 stars 2 forks source link

GUI typo :: openBasePath misslabelled #10

Open EricDeveaud opened 1 week ago

EricDeveaud commented 1 week ago

Hello,

FYI. GUI has a typo in the Preprocessing Base Path select dialog button. when it opens it display Select the coordination path.

I guess openBasePath should be

def openBasePath(self):
        self.c2l_basePath = QFileDialog.getExistingDirectory(self, 'Select the base path')
        if self.c2l_basePath != "":
            self.ui.edit_base_path.setText(self.c2l_basePath)
            self.c2l_show_info(f"Base dir: {self.c2l_basePath}")

instead of

def openBasePath(self):
        self.c2l_basePath = QFileDialog.getExistingDirectory(self, 'Select the coordination path')
        if self.c2l_basePath != "":
            self.ui.edit_base_path.setText(self.c2l_basePath)
            self.c2l_show_info(f"Base dir: {self.c2l_basePath}")

regards

Eric

lgl603 commented 1 week ago

openBasePath

Thank you very much for your careful inspection and friendly notification. We have corrected the function of openBasePath.