Skip to content

Commit

Permalink
ocd
Browse files Browse the repository at this point in the history
  • Loading branch information
arahlin committed Mar 1, 2024
1 parent 6c20003 commit 0b6f5e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/include/core/G3PipelineInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 2 additions & 3 deletions core/src/G3PipelineInfo.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0b6f5e9

Please sign in to comment.