Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
joleroi committed Mar 25, 2016
1 parent 2a68201 commit ae9e624
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion regions/io/read_ds9.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def region_list_to_objects(region_list):
reg = rectangle.RectanglePixelRegion(coord_list[0], coord_list[1], coord_list[2], coord_list[3])
else:
raise ValueError("No central coordinate")

else:
continue
reg.vizmeta = {key: meta[key] for key in meta.keys() if key in viz_keywords}
reg.meta = {key: meta[key] for key in meta.keys() if key not in viz_keywords}
output_list.append(reg)
Expand Down

0 comments on commit ae9e624

Please sign in to comment.