Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Purva-Chaudhari committed Aug 24, 2021
1 parent c2f3f43 commit ca07bd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int main(int argc, char** argv) {
std::string tag = "SiStripApvGain_FromParticles_GR10_v11_offline";
cond::Time_t start = static_cast<unsigned long long>(132440);
cond::Time_t end = static_cast<unsigned long long>(285368);
boost::python::dict inputs;
py::dict inputs;

edm::LogPrint("testSiStripPayloadInspector") << "## Exercising Gains plots " << std::endl;

Expand Down
8 changes: 4 additions & 4 deletions CondCore/Utilities/src/PayloadInspector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ namespace cond {
std::vector<std::tuple<std::string, cond::Time_t, cond::Time_t> > tags;
tags.resize(nt);
for (size_t i = 0; i < nt; i++) {
boost::python::tuple entry = boost::python::extract<boost::python::tuple>(tagsWithTimeBoundaries[i]);
std::string tagName = boost::python::extract<std::string>(entry[0]);
std::string time0s = boost::python::extract<std::string>(entry[1]);
std::string time1s = boost::python::extract<std::string>(entry[2]);
boost::python::tuple entry = tagsWithTimeBoundaries[i].cast<py::tuple>();
std::string tagName = entry[0].cast<std::string>();
std::string time0s = entry[1].cast<std::string>();
std::string time1s = entry[2].cast<std::string>();
cond::Time_t time0 = std::stoull(time0s);
cond::Time_t time1 = std::stoull(time1s);
tags[i] = std::make_tuple(tagName, time0, time1);
Expand Down

0 comments on commit ca07bd7

Please sign in to comment.