diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index d48cd426..f7eb74e8 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -3149,11 +3149,23 @@ def thumbnails_set(r,id,favorites): rowdata.dropna(axis=1,how='all',inplace=True) if rowdata.empty: - return [ + try: + rowdata = dataprep.getsmallrowdata_db(columns,ids=[id],doclean=False, + workstrokesonly=False) + except: + return [ + {'script':"", + 'div':"", + 'notes':"" + }] + + if rowdata.empty: + return [ {'script':"", 'div':"", 'notes':"" }] + else: try: rowdata.sort_values(by='time',ascending=True,inplace=True)