diff --git a/src/coreComponents/common/format/table/TableData.cpp b/src/coreComponents/common/format/table/TableData.cpp index 0504be3626..8e1a54a058 100644 --- a/src/coreComponents/common/format/table/TableData.cpp +++ b/src/coreComponents/common/format/table/TableData.cpp @@ -23,18 +23,8 @@ namespace geos { -void TableData::addRow( std::vector< TableData::CellData > const & rows ) +void TableData::addRow( std::vector< TableData::CellData > const & row ) { - if( m_rows.size() != 0 && rows.size() != m_rows[m_rows.size() - 1].size() ) - { - string msg = "Remarks : some cells may be missing"; - std::cout << '\n'; - if( std::find( m_errorsMsg.begin(), m_errorsMsg.end(), msg ) == m_errorsMsg.end()) - { - m_errorsMsg.push_back( msg ); - } - } - m_rows.push_back( rows ); } @@ -61,11 +51,6 @@ std::vector< std::vector< TableData::CellData > > const & TableData::getTableDat return m_rows; } -std::vector< string > const & TableData::getErrorMsgs() const -{ - return m_errorsMsg; -} - void TableData2D::collectTableValues( arraySlice1d< real64 const > rowAxisValues, arraySlice1d< real64 const > columnAxisValues, arrayView1d< real64 const > values ) diff --git a/src/coreComponents/common/format/table/TableData.hpp b/src/coreComponents/common/format/table/TableData.hpp index a2f1989b79..04d524c5f6 100644 --- a/src/coreComponents/common/format/table/TableData.hpp +++ b/src/coreComponents/common/format/table/TableData.hpp @@ -87,9 +87,6 @@ class TableData /// vector containing all rows with cell values std::vector< std::vector< CellData > > m_rows; - /// store error if there are any inconsistencies related to the table - std::vector< string > m_errorsMsg; - }; /** diff --git a/src/coreComponents/common/format/table/TableFormatter.hpp b/src/coreComponents/common/format/table/TableFormatter.hpp index 4c06e9707b..140309174c 100644 --- a/src/coreComponents/common/format/table/TableFormatter.hpp +++ b/src/coreComponents/common/format/table/TableFormatter.hpp @@ -36,7 +36,7 @@ class TableFormatter public: /// Represent the TableData values using RowsCellInput = std::vector< std::vector< TableData::CellData > >; - /// Represent the Table (header or values) structured + /// Represent the Table (header or values) structured using CellLayoutRows = std::vector< std::vector< TableLayout::CellLayout > >; diff --git a/src/coreComponents/common/format/table/TableLayout.hpp b/src/coreComponents/common/format/table/TableLayout.hpp index 24cf26b522..c7d1f57dac 100644 --- a/src/coreComponents/common/format/table/TableLayout.hpp +++ b/src/coreComponents/common/format/table/TableLayout.hpp @@ -158,7 +158,7 @@ class TableLayout /** * @brief Set the column visibility. - * @param CellType Cell type to apply to hide the colmun + * @param CellType Cell type to apply to hide the colmun * @return The current column . */ Column & setVisibility( CellType celltype ); @@ -434,7 +434,7 @@ class TableLayout /** * @brief Get the max depth of a column - * @return The max column depth + * @return The max column depth */ size_t getMaxDepth() const;