We need to update a line in core_parser.py to use parser.read_file().
/global/u2/v/vo13/E3SM-Project/e3sm_diags/e3sm_diags/parser/core_parser.py:820: DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead.
config.readfp(cfg_file_obj)
What did you expect to happen? Are there are possible answers you came across?
What happened?
We need to update a line in
core_parser.py
to useparser.read_file()
.What did you expect to happen? Are there are possible answers you came across?
No response
Minimal Complete Verifiable Example (MVCE)
No response
Relevant log output
No response
Anything else we need to know?
No response
Environment
main
and latest stable version of e3sm_diags