Skip to content
Snippets Groups Projects
Commit e554d077 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

minor tweak to Frame reprs

add commas for buffer list elements
parent db8146cb
No related branches found
No related tags found
1 merge request!77minor tweak to Frame reprs
......@@ -129,7 +129,7 @@ class EventFrame(Frame):
def __repr__(self):
out = f"EventFrame(EOS={self.EOS}, is_gap={self.is_gap}, metadata={self.metadata}, events={{\n"
for evt, v in self.events.items():
out += f" {evt}: {v}\n"
out += f" {evt}: {v},\n"
out += "}})"
return out
......@@ -579,7 +579,7 @@ class TSFrame(Frame):
def __repr__(self):
out = f"TSFrame(EOS={self.EOS}, is_gap={self.is_gap}, metadata={self.metadata}, buffers=[\n"
for buf in self:
out += f" {buf}\n"
out += f" {buf},\n"
out += "])"
return out
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment