From 197ff639a18631a312be56aed85cd18736024810 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Tue, 14 Apr 2020 12:58:53 +0200 Subject: [PATCH] Add warning to parse_input --- doc/news/changes/incompatibilities/20200326NiklasFehn | 5 +++++ doc/news/changes/minor/20200326NiklasFehn | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 doc/news/changes/incompatibilities/20200326NiklasFehn diff --git a/doc/news/changes/incompatibilities/20200326NiklasFehn b/doc/news/changes/incompatibilities/20200326NiklasFehn new file mode 100644 index 0000000000..6c3e629d56 --- /dev/null +++ b/doc/news/changes/incompatibilities/20200326NiklasFehn @@ -0,0 +1,5 @@ +Changed: The function ParameterHandler::parse_input() can now also parse xml- and json-files, +depending on the file suffix. From now on, only files ending with .prm are treated as standard +parameter files. +
+(Niklas Fehn, Peter Munch, 2020/03/26) diff --git a/doc/news/changes/minor/20200326NiklasFehn b/doc/news/changes/minor/20200326NiklasFehn index 6a97e7e3ef..be120a6344 100644 --- a/doc/news/changes/minor/20200326NiklasFehn +++ b/doc/news/changes/minor/20200326NiklasFehn @@ -1,6 +1,5 @@ -Extension: The function ParameterHandler::parse_input() has been extended so that -the same parse_input function can be called independently of the type of input -file (prm, xml, json). An additional parameter assert_mandatory_entries_are_found -is introduced to avoid errors, e.g., due to typos in the input file. +Extension: An optional additional parameter assert_mandatory_entries_are_found +is introduced to the function ParameterHandler::parse_input() to avoid errors, +e.g., due to typos in the input file.
(Niklas Fehn, 2020/03/26) -- 2.39.5