Skip to content

Commit

Permalink
Fix line length issue
Browse files Browse the repository at this point in the history
  • Loading branch information
uramirez8707 committed Jan 8, 2025
1 parent 5fbe4fa commit 8a0eeeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion diag_manager/fms_diag_yaml.F90
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@ subroutine diag_yaml_object_init(diag_subset_output)
if (.not. file_exists(yamlfilename)) yamlfilename = "diag_table.yaml"
endif
diag_yaml_id = open_and_parse_file(trim(yamlfilename))
if (diag_yaml_id .eq. missing_file_error_code) call mpp_error(FATAL, "The "//trim(yamlfilename)//" is not present and it is required!")
if (diag_yaml_id .eq. missing_file_error_code) &
call mpp_error(FATAL, "The "//trim(yamlfilename)//" is not present and it is required!")

call diag_get_value_from_key(diag_yaml_id, 0, "title", diag_yaml%diag_title)
call get_value_from_key(diag_yaml_id, 0, "base_date", diag_yaml%diag_basedate)
Expand Down

0 comments on commit 8a0eeeb

Please sign in to comment.