Update fitbit_sleep_features.py: return empty file when epoch is not daily

pull/95/head
Meng Li 2020-06-05 19:50:22 -04:00
parent 9c1f2f6bbe
commit 925e986c1e
1 changed files with 1 additions and 1 deletions

View File

@ -64,4 +64,4 @@ else:
if day_segment == "daily":
sleep_daily_features.to_csv(snakemake.output[0])
else:
ValueError("Sleep summary features are only implemented for daily day segments")
pd.DataFrame().to_csv(snakemake.output[0])