Merge branch 'release/v13.08'
This commit is contained in:
+1
-1
@@ -2178,7 +2178,7 @@ def read_cols_df_sql(ids, columns, convertnewtons=True):
|
|||||||
try:
|
try:
|
||||||
df = pd.read_parquet(f,columns=columns)
|
df = pd.read_parquet(f,columns=columns)
|
||||||
data.append(df)
|
data.append(df)
|
||||||
except OSError:
|
except (OSError,IndexError):
|
||||||
rowdata,row = getrowdata(id=id)
|
rowdata,row = getrowdata(id=id)
|
||||||
if rowdata and len(rowdata.df):
|
if rowdata and len(rowdata.df):
|
||||||
datadf = dataprep(rowdata.df,id=id,bands=True,otwpower=True,barchart=True)
|
datadf = dataprep(rowdata.df,id=id,bands=True,otwpower=True,barchart=True)
|
||||||
|
|||||||
@@ -1400,7 +1400,7 @@ def default_class(r,w,race):
|
|||||||
agemin__lt=age,agemax__gt=age
|
agemin__lt=age,agemax__gt=age
|
||||||
).order_by(
|
).order_by(
|
||||||
"agemax","-agemin","boattype","sex",
|
"agemax","-agemin","boattype","sex",
|
||||||
"weightcategory","referencespeed")
|
"weightclass","referencespeed")
|
||||||
|
|
||||||
if standards.count()==0:
|
if standards.count()==0:
|
||||||
# boolean, boattype, boatclass, adaptiveclass, weightclass, sex, coursestandard,
|
# boolean, boattype, boatclass, adaptiveclass, weightclass, sex, coursestandard,
|
||||||
|
|||||||
@@ -450,6 +450,8 @@ def handle_check_race_course(self,
|
|||||||
t = time.localtime()
|
t = time.localtime()
|
||||||
timestamp = time.strftime('%b-%d-%Y_%H%M', t)
|
timestamp = time.strftime('%b-%d-%Y_%H%M', t)
|
||||||
f.write('\n')
|
f.write('\n')
|
||||||
|
f.write('Course id {n}, Record id {m}'.format(n=courseid,m=recordid))
|
||||||
|
f.write('\n')
|
||||||
f.write(timestamp)
|
f.write(timestamp)
|
||||||
f.write(' ')
|
f.write(' ')
|
||||||
f.write('Found {n} entrytimes'.format(n=len(entrytimes)))
|
f.write('Found {n} entrytimes'.format(n=len(entrytimes)))
|
||||||
|
|||||||
@@ -3134,7 +3134,7 @@ def virtualevent_entry_edit_view(request,id=0,entryid=0):
|
|||||||
records = resultobj.objects.filter(
|
records = resultobj.objects.filter(
|
||||||
userid = r.id,
|
userid = r.id,
|
||||||
race=race
|
race=race
|
||||||
)
|
).exclude(id=entryid)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
record = resultobj.objects.get(id=entryid)
|
record = resultobj.objects.get(id=entryid)
|
||||||
|
|||||||
Reference in New Issue
Block a user