diff options
-rw-r--r-- | gn3/computations/qtlreaper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/computations/qtlreaper.py b/gn3/computations/qtlreaper.py index 166d2dd..d1ff4ac 100644 --- a/gn3/computations/qtlreaper.py +++ b/gn3/computations/qtlreaper.py @@ -34,7 +34,8 @@ def create_output_directory(path: str): """Create the output directory at `path` if it does not exist.""" try: os.mkdir(path) - except OSError: + except FileExistsError: + # If the directory already exists, do nothing. pass def run_reaper( |