Skip to content

Commit

Permalink
allow empty line in output sim
Browse files Browse the repository at this point in the history
  • Loading branch information
kalhankoul96 committed May 16, 2024
1 parent 68da778 commit c1da2da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sam/onyx/generate_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ def convert_aha_glb_output_file(glbfile, output_dir, tiles):
sp_line = line.strip().split(" ")
for sp_line_tok in sp_line:
sp_line_tok_stripped = sp_line_tok.strip()
if(sp_line_tok_stripped == ""):
continue
straightline.append(int(sp_line_tok_stripped, base=16))

# Now we have straightline having the items in order
Expand Down

0 comments on commit c1da2da

Please sign in to comment.