|
@@ -210,10 +210,13 @@ class DBManager():
|
|
|
st = time.time()
|
|
|
for line in DBManager._download_json_data(urls):
|
|
|
et = time.time()
|
|
|
- if i==0:
|
|
|
- data_blocks,CellUNum,CellTNum,OtherTNumm = DBManager._convert_to_dataframe_bms(line, mode)
|
|
|
- i+=1
|
|
|
- continue
|
|
|
+ try:
|
|
|
+ if i==0:
|
|
|
+ data_blocks,CellUNum,CellTNum,OtherTNumm = DBManager._convert_to_dataframe_bms(line, mode)
|
|
|
+ i+=1
|
|
|
+ continue
|
|
|
+ except:
|
|
|
+ i = 0
|
|
|
try:
|
|
|
data_block,CellUNum,CellTNum,OtherTNumm = DBManager._convert_to_dataframe_bms(line, mode)
|
|
|
except:
|
|
@@ -225,7 +228,6 @@ class DBManager():
|
|
|
'all the input array dimensions except for the concatenation axis must match exactly' in str(e):
|
|
|
pass
|
|
|
else:
|
|
|
- pdb.set_trace()
|
|
|
raise e
|
|
|
|
|
|
# print('\r'+str(i),end=" ")
|