A use of yaml.safe_dump within the get_fv3config_yaml_asset function prevented the writing of run directories when a config object contained a DiagTable class for the diag_table entry. This PR replaces that usage with fv3config.dump and adds a relevant test.
A use of
yaml.safe_dump
within theget_fv3config_yaml_asset
function prevented the writing of run directories when a config object contained aDiagTable
class for thediag_table
entry. This PR replaces that usage withfv3config.dump
and adds a relevant test.