From c9c7f0eaa63ddbb1420f2f6bf90c7ac7bfd2a4f4 Mon Sep 17 00:00:00 2001 From: phlndrwd Date: Wed, 25 Oct 2023 11:52:09 +0100 Subject: [PATCH] Missed some merge conflicts. --- src/monio/Variable.cc | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/src/monio/Variable.cc b/src/monio/Variable.cc index 85a8791..7299cba 100644 --- a/src/monio/Variable.cc +++ b/src/monio/Variable.cc @@ -61,12 +61,8 @@ std::shared_ptr return attributes_.at(attrName); } else { Monio::get().closeFiles(); -<<<<<<< HEAD utils::throwException("Variable::getAttribute()> Attribute \"" + -======= -utils::throwException("Variable::getAttribute()> Attribute \"" + ->>>>>>> 94662e8d3e65f47bd55526903c917eb1c763175c - attrName + "\" not found..."); + attrName + "\" not found..."); } } @@ -82,20 +78,12 @@ std::string monio::Variable::getStrAttr(const std::string& attrName) { return value; } else { Monio::get().closeFiles(); -<<<<<<< HEAD utils::throwException("Variable::getAttribute()> " -======= -utils::throwException("Variable::getAttribute()> " ->>>>>>> 94662e8d3e65f47bd55526903c917eb1c763175c - "Variable attribute data type not coded for..."); + "Variable attribute data type not coded for..."); } } else { Monio::get().closeFiles(); -<<<<<<< HEAD utils::throwException("Variable::getAttribute()> Attribute \"" + -======= -utils::throwException("Variable::getAttribute()> Attribute \"" + ->>>>>>> 94662e8d3e65f47bd55526903c917eb1c763175c attrName + "\" not found..."); } } @@ -108,11 +96,7 @@ void monio::Variable::addDimension(const std::string& dimName, const size_t size dimensions_.push_back(std::make_pair(dimName, size)); } else { Monio::get().closeFiles(); -<<<<<<< HEAD utils::throwException("Variable::addDimension()> Dimension \"" + -======= -utils::throwException("Variable::addDimension()> Dimension \"" + ->>>>>>> 94662e8d3e65f47bd55526903c917eb1c763175c dimName + "\" already defined..."); } } @@ -124,11 +108,7 @@ void monio::Variable::addAttribute(std::shared_ptr attr) { attributes_.insert(std::make_pair(attrName, attr)); } else { Monio::get().closeFiles(); -<<<<<<< HEAD utils::throwException("Variable::addAttribute()> multiple definitions of \"" + -======= -utils::throwException("Variable::addAttribute()> multiple definitions of \"" + ->>>>>>> 94662e8d3e65f47bd55526903c917eb1c763175c attrName + "\"..."); } } @@ -149,11 +129,7 @@ void monio::Variable::deleteAttribute(const std::string& attrName) { attributes_.erase(attrName); } else { Monio::get().closeFiles(); -<<<<<<< HEAD utils::throwException("Variable::deleteAttribute()> Attribute \"" + -======= -utils::throwException("Variable::deleteAttribute()> Attribute \"" + ->>>>>>> 94662e8d3e65f47bd55526903c917eb1c763175c attrName + "\" does not exist..."); } }