fixing some rowingmetrix issues
This commit is contained in:
@@ -587,8 +587,9 @@ def setcp(workout, background=False, recurrance=True):
|
||||
|
||||
with gzip.open(filename, 'w') as f:
|
||||
df.write_parquet(f)
|
||||
except:
|
||||
return False
|
||||
except Exception as e:
|
||||
dologging("metrics.log", "setcp: "+ str(e))
|
||||
return pl.DataFrame({'delta': [], 'cp': []}), pl.Series(dtype=pl.Float64), pl.Series(dtype=pl.Float64)
|
||||
|
||||
#df.to_parquet(filename, engine='fastparquet', compression='GZIP')
|
||||
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user