diff --git a/snakePipes/workflows/ChIP-seq/internals.snakefile b/snakePipes/workflows/ChIP-seq/internals.snakefile index 99657fb73..3d7916813 100755 --- a/snakePipes/workflows/ChIP-seq/internals.snakefile +++ b/snakePipes/workflows/ChIP-seq/internals.snakefile @@ -110,7 +110,7 @@ chip_samples_w_ctrl = set() chip_samples_wo_ctrl = set() for chip_sample, value in chip_dict.items(): # set control to False if not specified or set to False - if 'control' not in chip_dict[chip_sample] or chip_dict[chip_sample]['control'] = None: + if 'control' not in chip_dict[chip_sample] or chip_dict[chip_sample]['control'] == None: chip_dict[chip_sample]['control'] = False chip_samples_wo_ctrl.add(chip_sample) else: