Skip to content

Commit 2418fc5

Browse files
authored
[Common] Improve verbose message in TableHelper (#11898)
1 parent 305b667 commit 2418fc5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Common/Core/TableHelper.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,15 @@ bool getTaskOptionValue(o2::framework::InitContext& initContext, const std::stri
8686
if (option.name == optName) {
8787
value = option.defaultValue.get<ValueType>();
8888
if (verbose) {
89-
if constexpr (!std::is_same_v<ValueType, o2::framework::LabeledArray<float>>) {
89+
if constexpr (std::is_same_v<ValueType, o2::framework::LabeledArray<float>>) {
90+
LOG(info) << " Found option '" << optName << "' a o2::framework::LabeledArray<float>";
91+
LOG(info) << " Values: ";
92+
for (uint32_t r = 0; r < value.rows(); r++) {
93+
for (uint32_t c = 0; r < value.cols(); c++) {
94+
LOG(info) << " r " << r << " c " << c << value.get(r, c);
95+
}
96+
}
97+
} else {
9098
LOG(info) << " Found option '" << optName << "' with value '" << value << "'";
9199
}
92100
found = true;

0 commit comments

Comments
 (0)