Skip to content

Commit

Permalink
Merge pull request #828 from francodgstn/patch-1
Browse files Browse the repository at this point in the history
Update imagej_roi_converter.py
  • Loading branch information
carsen-stringer committed Feb 13, 2024
2 parents 307a70f + 9fb7634 commit c2821cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions imagej_roi_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

textfile = open(file_name, "r")
for line in textfile:
lineText = line.rstrip()
if not lineText:
continue
xy = map(int, line.rstrip().split(","))
X = xy[::2]
Y = xy[1::2]
Expand Down

0 comments on commit c2821cd

Please sign in to comment.