Skip to content

Commit

Permalink
Missed some merge conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
phlndrwd committed Oct 25, 2023
1 parent 4bfc642 commit c9c7f0e
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions src/monio/Variable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,8 @@ std::shared_ptr<monio::AttributeBase>
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...");
}
}

Expand All @@ -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...");
}
}
Expand All @@ -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...");
}
}
Expand All @@ -124,11 +108,7 @@ void monio::Variable::addAttribute(std::shared_ptr<monio::AttributeBase> 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 + "\"...");
}
}
Expand All @@ -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...");
}
}

0 comments on commit c9c7f0e

Please sign in to comment.