Skip to content

Commit

Permalink
fix: add missing Filename column to output bouts data
Browse files Browse the repository at this point in the history
  • Loading branch information
chanshing committed Oct 17, 2024
1 parent 3295ef5 commit ac2d724
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stepcount/stepcount.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ def main():
# del daily_adj # still needed for printing

# Save bouts data
bouts_summary['bouts'].insert(0, 'Filename', info['Filename']) # add filename for reference
bouts_summary['bouts'].to_csv(f"{outdir}/{basename}-Bouts.csv.gz", index=False)

# Print
Expand Down

0 comments on commit ac2d724

Please sign in to comment.