We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aba3f6e commit 0c972d3Copy full SHA for 0c972d3
1 file changed
libensemble/specs.py
@@ -274,15 +274,6 @@ class GenSpecs(BaseModel):
274
running. Only used if using the ``give_sim_work_first`` allocation function.
275
"""
276
277
- @model_validator(mode="before")
278
- def set_gen_specs_fields_from_user(cls, values):
279
- """Set fields from user dict for backward compatibility."""
280
- # init_sample_size is now initial_batch_size
281
- if "init_sample_size" in values and "initial_batch_size" not in values:
282
- values["initial_batch_size"] = values.pop("init_sample_size")
283
-
284
- return values
285
286
@model_validator(mode="after")
287
def set_fields_from_vocs(self):
288
"""Set persis_in and outputs from VOCS if vocs is provided and fields are not set."""
0 commit comments