small bug fix
This commit is contained in:
3
.gpx
Normal file
3
.gpx
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" creator="Oregon 400t" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd"><metadata><link href="http://www.garmin.com"><text>Garmin International</text></link><time>2018-03-17T12:59:13</time></metadata><trk><name>Export by rowingdata</name>
|
||||
</trk></gpx>
|
||||
14
.tcx
Normal file
14
.tcx
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<TrainingCenterDatabase xmlns="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2">
|
||||
<Activities>
|
||||
<Activity Sport="Other">
|
||||
<Id>2015-03-28T20:45:15.000Z</Id>
|
||||
<Creator xsi:type="Device_t" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<Name>Empty File</Name>
|
||||
<UnitId>0</UnitId>
|
||||
<ProductID>0</ProductID>
|
||||
</Creator>
|
||||
</Activity>
|
||||
</Activities>
|
||||
</TrainingCenterDatabase>
|
||||
@@ -774,7 +774,10 @@ def interactive_histoall(theworkouts):
|
||||
if rowdata.empty:
|
||||
return "","No Valid Data Available","",""
|
||||
|
||||
try:
|
||||
histopwr = rowdata['power'].values
|
||||
except KeyError:
|
||||
return "","No power data","",""
|
||||
if len(histopwr) == 0:
|
||||
return "","No valid data available","",""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user