def _openConfigFile(self, configFile, userOnly=False): """ Open an Scipion configuration file, if the user have one defined, also open that one with the defined text editor. """ if not userOnly: _open_cmd(pw.getConfigPath(configFile)) userHostConf = os.path.join(pwutils.getHomePath(), '.config', 'scipion', configFile) if os.path.exists(userHostConf): _open_cmd(userHostConf)
def _openConfigFile(self, configFile, userOnly=False): """ Open an Scipion configuration file, if the user have one defined, also open that one with the defined text editor. """ if not userOnly: _open_cmd(pw.getConfigPath(configFile)) userHostConf = os.path.join(pwutils.getHomePath(), '.config', 'scipion', configFile) if os.path.exists(userHostConf): _open_cmd(userHostConf)
def _actionHome(self, e=None): self._goDir(getHomePath())
def _actionHome(self, e=None): self._goDir(pwutils.getHomePath())
def _actionHome(self, e=None): self._goDir(getHomePath())