Private
Public Access
1
0

bug fixes

This commit is contained in:
Sander Roosendaal
2020-06-28 10:15:52 +02:00
parent 0489b25e55
commit 733e697ecf
2 changed files with 2 additions and 2 deletions

View File

@@ -2178,7 +2178,7 @@ def read_cols_df_sql(ids, columns, convertnewtons=True):
try:
df = pd.read_parquet(f,columns=columns)
data.append(df)
except OSError:
except (OSError,IndexError):
rowdata,row = getrowdata(id=id)
if rowdata and len(rowdata.df):
datadf = dataprep(rowdata.df,id=id,bands=True,otwpower=True,barchart=True)