Open RyanConway91 opened 1 year ago
the ControlData
class overrides the setters and getters to 0) keep us from having to set all those gory little options as attributes and ii) so that we can type check when someone tries to change one (so you cant pass an str
for noptmax
, etc). What this means is that you have to assign the values for the control data options by name directly (you cant get a reference to them like in your code because the ControlData
instance doesnt have an explicit numcom
attribute):
pst.control_data.numcom = 2
pst.control_data.numcom = 1 does not make it through to the printed .pst. Seems like this might be the same as issue 379? https://github.com/pypest/pyemu/issues/379 Manually adding a few things got the .pst past pestchek, so all good! Thanks
I want to add stuff to my control_data section. However, when I try the code below:
The new pst file does not have the added "numcom" parameter