Skip to content

Yaml parameter overridden to cout + suppress if overridden with the same value

Oleksandr Zenaiev requested to merge yaml_parameter_overridden_to_cout into master

I think it is better to print INFO yaml messages [1] to cout rather than to clog (which is cerr). Furthermore, suppress the message if a parameter is overridden with the same value.

[1]

[INFO] Option scalea1=1.0 included from file /home/zenaiev/xfitter/xfitter-master/share/xfitter/reactions/FFABM_DISCC.yaml is overridden by locally defined option scalea1=1.00
[INFO] Option ordfl=1 included from file /home/zenaiev/xfitter/xfitter-master/share/xfitter/reactions/FFABM_DISCC.yaml is overridden by locally defined option ordfl=1
[INFO] Option scaleb1=1.0 included from file /home/zenaiev/xfitter/xfitter-master/share/xfitter/reactions/FFABM_DISCC.yaml is overridden by locally defined option scaleb1=0.0
[INFO] Option runm=1 included from file /home/zenaiev/xfitter/xfitter-master/share/xfitter/reactions/FFABM_DISCC.yaml is overridden by locally defined option runm=1
Edited by Oleksandr Zenaiev

Merge request reports

Loading