From b9f2e2f6706fd86e32de4149198c9d609aab3ff3 Mon Sep 17 00:00:00 2001 From: Hielke Walinga Date: Thu, 2 Feb 2023 17:52:27 +0100 Subject: [PATCH] Fix makedirs --- quanttb/scripts/quanttb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quanttb/scripts/quanttb.py b/quanttb/scripts/quanttb.py index 887a80a..9777a17 100644 --- a/quanttb/scripts/quanttb.py +++ b/quanttb/scripts/quanttb.py @@ -32,12 +32,12 @@ def makeoutput(qtobj): qtobj.temp = qtobj.outdirr + "/temp" try: - os.mkdirs(qtobj.temp) + os.makedirs(qtobj.temp) except OSError as e: if e.errno == errno.EEXIST and os.path.isdir(qtobj.temp): pass - else: - raise + else: + raise def getvcfs(fqlist, qtobj): if which('samtools') is None or which('bwa') is None: