Open mkeilman opened 7 months ago
Initial indications are that a lot of schema lack numeric defaults. They don't break if the fixup does not build a default for that particular model; however we don't know that ahead of time
Another interesting note: I have found several cases where a view definition is included in the models
See https://github.com/radiasoft/sirepo/issues/6665#issuecomment-1954535480 We currently ignore missing default values:
However, this will cause the error seen in the issue above, as we don't allow NaN in our json files.
Suggest the proper place for this isI thought this was being called in validation but it is nottemplate_common.validate_model()
since it is already checking numeric types