Skip to content

Commit

Permalink
convert lines in postprocess to string regardless of initial input
Browse files Browse the repository at this point in the history
  • Loading branch information
jaleezyy committed Jul 9, 2024
1 parent 2d28f7c commit da502da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/signal_postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,8 @@ def write_kv_pair(self, key, val=None, indent=0, qc=False):


def write_lines(self, title, lines, coalesce=False):
# ensure values in lines are strings (addresses NoneType exception)
lines = [str(l) for l in lines]
if len(lines) > self.maxlines:
n = len(lines)
m = self.maxlines
Expand Down

0 comments on commit da502da

Please sign in to comment.