Skip to content

Commit

Permalink
Make black happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseEspinosa committed Apr 17, 2023
1 parent 595c679 commit 8cda00f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions bin/check_samplesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def check_samplesheet(file_in, file_out):

sample_mapping_dict = {}
with open(file_in, "r", encoding="utf-8-sig") as fin:

## Check header
MIN_COLS = 2
HEADER = ["sample", "fastq_1", "fastq_2", "antibody", "control"]
Expand Down Expand Up @@ -156,7 +155,6 @@ def check_samplesheet(file_in, file_out):
+ "\n"
)
for sample in sorted(sample_mapping_dict.keys()):

## Check that multiple runs of the same sample are of the same datatype i.e. single-end / paired-end
if not all(x[0] == sample_mapping_dict[sample][0][0] for x in sample_mapping_dict[sample]):
print_error(
Expand Down
2 changes: 0 additions & 2 deletions bin/igv_files_to_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@


def makedir(path):

if not len(path) == 0:
try:
os.makedirs(path)
Expand All @@ -72,7 +71,6 @@ def makedir(path):


def igv_files_to_session(XMLOut, ListFile, ReplaceFile, Genome, PathPrefix=""):

makedir(os.path.dirname(XMLOut))

replaceFileDict = {}
Expand Down
2 changes: 0 additions & 2 deletions bin/macs2_merged_expand.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@


def makedir(path):

if not len(path) == 0:
try:
os.makedirs(path)
Expand All @@ -78,7 +77,6 @@ def makedir(path):


def macs2_merged_expand(MergedIntervalTxtFile, SampleNameList, OutFile, isNarrow=False, minReplicates=1):

makedir(os.path.dirname(OutFile))

combFreqDict = {}
Expand Down

0 comments on commit 8cda00f

Please sign in to comment.