Skip to content

Commit e735a23

Browse files
committed
Fix logic error if there are no tables
1 parent a8f7cbd commit e735a23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

astrowidgets/ginga.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,9 @@ def get_markers(self, x_colname='x', y_colname='y',
564564
del table[skycoord_colname]
565565
tables.append(table)
566566

567+
if len(tables) == 0:
568+
return None
569+
567570
stacked = vstack(tables, join_type='exact')
568571

569572
if coordinates:

0 commit comments

Comments
 (0)