Skip to content

Commit a0c0e78

Browse files
author
Sarah Krebs
committed
Allow multiple seeds (groups)
1 parent 4bffcde commit a0c0e78

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

deepcave/runs/group.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,17 @@ def __init__(self, name: str, runs: List[AbstractRun]):
6262
return
6363

6464
try:
65-
attributes = check_equality(self.runs)
65+
attributes = check_equality(self.runs, seeds=True)
6666
# abstract run requires meta to contain budgets / objectives
67-
self.meta = {"budgets": attributes["budgets"], "objectives": attributes["objectives"]}
67+
self.meta = {
68+
"budgets": attributes["budgets"],
69+
"objectives": attributes["objectives"],
70+
"seeds": attributes["seeds"],
71+
}
6872
self.configspace = attributes["configspace"]
6973
self.objectives = attributes["objectives"]
7074
self.budgets = attributes["budgets"]
75+
self.seeds = attributes["seeds"]
7176

7277
# New config ids are needed
7378
current_config_id = 0

0 commit comments

Comments
 (0)