diff --git a/CADETMatch.pyproj b/CADETMatch.pyproj index 3bcf5ff..15cc614 100644 --- a/CADETMatch.pyproj +++ b/CADETMatch.pyproj @@ -12,7 +12,7 @@ {888888a0-9f3d-457c-b088-3a5042f75d52} Standard Python launcher CondaEnv|CondaEnv|pymoo_devel - "F:\ryzen_pymoo_unsga3\search\scoretest\dextran.json" 12 + "F:\ryzen_pymoo_unsga3\search\nsga3\dextran.json" 12 False true diff --git a/CADETMatch/pymoo_config.py b/CADETMatch/pymoo_config.py index 18fb975..8a8590c 100644 --- a/CADETMatch/pymoo_config.py +++ b/CADETMatch/pymoo_config.py @@ -88,12 +88,11 @@ def run(cache, alg="unsga3"): if "seeds" in cache.settings: seed_pop = [ - pop.Individual( - [f(v) for f, v in zip(cache.settings["transform"], sublist)] - ) + [f(v) for f, v in zip(cache.settings["transform"], sublist)] for sublist in cache.settings["seeds"] ] - init_pop.extend(seed_pop) + init_pop = numpy.concatenate([init_pop, numpy.array(seed_pop)], axis=0) + #init_pop.extend(seed_pop) path = Path(cache.settings["resultsDirBase"], cache.settings["csv"])