From 81e21d7731d5d9caf25a69e219339c289df2f4f7 Mon Sep 17 00:00:00 2001
From: "Christoph.Knote" <christoph.knote@physik.uni-muenchen.de>
Date: Thu, 7 Dec 2017 09:57:59 +0100
Subject: [PATCH] Minor fix

---
 boxmox/experiment.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boxmox/experiment.py b/boxmox/experiment.py
index 0f8a89e..7af2636 100644
--- a/boxmox/experiment.py
+++ b/boxmox/experiment.py
@@ -33,7 +33,7 @@ class ExampleData:
         self.path = path
         self.files = { x.replace(".csv", ""): os.path.join(self.path, x) for x in os.listdir(self.path) if '.csv' in x }
 
-examples = { x: ExampleData(os.path.join(examplesPath, x)) for x in os.listdir(examplesPath) }
+examples = { x: ExampleData(os.path.join(examplesPath, x)) for x in os.listdir(examplesPath) if os.path.isdir( os.path.join(examplesPath, x))}
 
 class Namelist:
     '''
-- 
GitLab