From b9b80604daf6706de91392dea458c35156c99169 Mon Sep 17 00:00:00 2001
From: Tim O'Donnell <timodonnell@gmail.com>
Date: Wed, 2 Oct 2019 17:23:36 -0400
Subject: [PATCH] fix

---
 mhcflurry/cluster_parallelism.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mhcflurry/cluster_parallelism.py b/mhcflurry/cluster_parallelism.py
index ae49f5ee..d3f1c1c5 100644
--- a/mhcflurry/cluster_parallelism.py
+++ b/mhcflurry/cluster_parallelism.py
@@ -170,6 +170,9 @@ def cluster_results(
         'constant_data': constant_data,
         'function': work_function,
     }
+    if not os.path.exists(results_workdir):
+        os.mkdir(results_workdir)
+
     work_dir = os.path.join(
         os.path.abspath(results_workdir),
         str(int(time.time())))
-- 
GitLab