Closed MicahGale closed 2 months ago
This fixes a bug where append_renumber can double add a material to data_inputs.
append_renumber
data_inputs
append_renumber does:
NumberedDataObjectCollection append was doing:
NumberedDataObjectCollection
data_inputs.insert
super().append
This fail and retry method led to data_inputs.insert being called twice. So making sure super().append occurs first fixes this.
Fixes #516
Description
This fixes a bug where
append_renumber
can double add a material todata_inputs
.append_renumber
does:NumberedDataObjectCollection
append was doing:data_inputs.insert
super().append
This fail and retry method led to
data_inputs.insert
being called twice. So making suresuper().append
occurs first fixes this.Fixes #516
Checklist