getting coordinates right on fusion
This commit is contained in:
@@ -3854,7 +3854,7 @@ def workout_wind_view(request,id=0,message="",successmessage=""):
|
||||
except KeyError:
|
||||
hascoordinates = 0
|
||||
|
||||
if not latitude.std():
|
||||
if hascoordinates and not latitude.std():
|
||||
hascoordinates = 0
|
||||
|
||||
try:
|
||||
@@ -6958,6 +6958,7 @@ def workout_fusion_view(request,id1=0,id2=1):
|
||||
if posneg == 'neg':
|
||||
timeoffset = -timeoffset
|
||||
|
||||
# Create DataFrame
|
||||
df = dataprep.datafusion(id1,id2,columns,timeoffset)
|
||||
|
||||
idnew,message = dataprep.new_workout_from_df(r,df,
|
||||
|
||||
Reference in New Issue
Block a user