updates on api
This commit is contained in:
@@ -2507,7 +2507,7 @@ def read_df_sql(id):
|
||||
try:
|
||||
f = 'media/strokedata_{id}.parquet.gz'.format(id=id)
|
||||
df = pd.read_parquet(f)
|
||||
except (OSError,ArrowInvalid):
|
||||
except (OSError,ArrowInvalid,IndexError):
|
||||
rowdata,row = getrowdata(id=id)
|
||||
if rowdata and len(rowdata.df):
|
||||
data = dataprep(rowdata.df,id=id,bands=True,otwpower=True,barchart=True)
|
||||
|
||||
Reference in New Issue
Block a user