Skip to content

Commit

Permalink
Merge pull request #112 from PALEOtoolkit/error_message_fixes
Browse files Browse the repository at this point in the history
Bugfix error message when yaml config not found
  • Loading branch information
sjdaines authored Feb 9, 2024
2 parents 6fc027d + 9897495 commit 95927db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ function create_model_from_config(
for fn in config_files
fnpath = abspath(fn)
println(io, " config_file: ", fnpath)
isfile(fnpath) || PB.infoerror(io, "config file $fnpath not found")
isfile(fnpath) || infoerror(io, "config file $fnpath not found")
yamltext *= read(fnpath, String) * "\n" # add newline so concatenation correct if one file doesn't have a blank line at end
end
print(io, """
Expand Down

0 comments on commit 95927db

Please sign in to comment.