def __init__(self, parent=None):
super().__init__(parent=parent)
self.ui = Ui_Snakemake()
self.ui.setupUi(self)
# This is for the --cluster-config case
# Note the double underscore that is used later to be replaced by a dash
self.ui.snakemake_options_cluster_cluster__config_value = FileBrowser()
self.ui.horizontalLayout_4.addWidget(
self.ui.snakemake_options_cluster_cluster__config_value)
self._application = "sequana_gui"
self._section = "snakemake_dialog"
self.read_settings()
# Set maximum of local cores to be used
cpu = multiprocessing.cpu_count()
self.ui.snakemake_options_local_cores_value.setMaximum(cpu)
评论列表
文章目录