From 0b6f5e952b457d0224d3cfceec43927bf749464e Mon Sep 17 00:00:00 2001 From: Sasha Rahlin Date: Fri, 1 Mar 2024 15:55:31 -0600 Subject: [PATCH] ocd --- core/include/core/G3PipelineInfo.h | 2 +- core/src/G3PipelineInfo.cxx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/core/include/core/G3PipelineInfo.h b/core/include/core/G3PipelineInfo.h index 63514030..1d6e68f9 100644 --- a/core/include/core/G3PipelineInfo.h +++ b/core/include/core/G3PipelineInfo.h @@ -16,7 +16,7 @@ class G3ModuleArg : public G3FrameObject { std::string repr() const { return repr_; }; G3FrameObjectPtr object() const { return obj_; }; - std::string Summary() const { return repr_; }; + std::string Description() const { return repr_; }; bool operator ==(const G3ModuleArg &other) const { return other.repr_ == repr_; }; private: diff --git a/core/src/G3PipelineInfo.cxx b/core/src/G3PipelineInfo.cxx index 360e3c04..9b2f114e 100644 --- a/core/src/G3PipelineInfo.cxx +++ b/core/src/G3PipelineInfo.cxx @@ -69,9 +69,8 @@ std::string G3ModuleConfig::Summary() const { std::string rv = "pipe.Add(" + modname; - for (auto i : config) { - rv += ", " + i.first + "=" + i.second.Summary(); - } + for (auto i : config) + rv += ", " + i.first + "=" + i.second.repr(); if (instancename.size() != 0 && instancename != modname) rv += ", name=" + instancename;