From f415bc074fe668a1d23e3fbc82e9bd8b43a8650d Mon Sep 17 00:00:00 2001 From: Remi Ehounou Date: Mon, 24 May 2021 00:28:56 -0400 Subject: [PATCH] fixed error --- MDAF/MDAF.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MDAF/MDAF.py b/MDAF/MDAF.py index bd96093..da15be8 100644 --- a/MDAF/MDAF.py +++ b/MDAF/MDAF.py @@ -219,7 +219,10 @@ def representfunc(funcpath, forced = False): def doe(heuristicpath, testfunctionpaths, args): - for i,path in enumerate(testfunctionpaths): if (path.find('@') == 0): testfunctionpaths[i] = path.dirname(__file__) + '/TestFunctions/' + testfunctionpaths[1:] + for i,path in enumerate(testfunctionpaths): + if path.find('@') == 0: + testfunctionpaths[i] = path.dirname(__file__) + '/TestFunctions/' + testfunctionpaths[1:] + if (heuristicpath.find('@') == 0): heuristicpath = path.dirname(__file__) + '/TestFunctions/' + heuristicpath[1:] #defining the function's name