Skip to content
Snippets Groups Projects
Commit bc6f1bc8 authored by Chad Hanna's avatar Chad Hanna
Browse files

Merge branch 'mr-repr-tweak' into 'main'

minor tweak to Frame reprs

See merge request !77
parents db8146cb e554d077
No related branches found
No related tags found
1 merge request!77minor tweak to Frame reprs
Pipeline #685265 passed
......@@ -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