Private
Public Access
1
0

fixing some rowingmetrix issues

This commit is contained in:
2024-05-14 09:45:03 +02:00
parent 5a0372bb1b
commit 6db28bf3dc
2 changed files with 3 additions and 2 deletions

View File

@@ -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')

Binary file not shown.