Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Oct 25, 2023
1 parent b325881 commit 3f95add
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
braidz_fname = sys.argv[1]

# Open the braidz file and create chunks of 60 second durations.
estimates_chunker = pybraidz_chunked_iter.chunk_on_timestamp(braidz_fname, 60)
estimates_chunker = pybraidz_chunked_iter.chunk_on_duration(braidz_fname, 60)

# One could also create chunks with 100 frames of data.
# estimates_chunker = pybraidz_chunked_iter.chunk_on_num_frames(braidz_fname, 100)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
braidz_fname = sys.argv[1]

# Open the braidz file and create chunks of 60 second durations.
estimates_chunker = pybraidz_chunked_iter.chunk_on_timestamp(braidz_fname, 60)
estimates_chunker = pybraidz_chunked_iter.chunk_on_duration(braidz_fname, 60)

# Iterate over each chunk
for chunk in estimates_chunker:
Expand Down
2 changes: 1 addition & 1 deletion strand-braid-user/users-guide/src/braidz-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ import pandas as pd
braidz_fname = "20201104_174158.braidz"

# Open the braidz file and create chunks of 60 second durations.
estimates_chunker = pybraidz_chunked_iter.chunk_on_timestamp(braidz_fname, 60)
estimates_chunker = pybraidz_chunked_iter.chunk_on_duration(braidz_fname, 60)

# One could also create chunks with 100 frames of data.
# estimates_chunker = pybraidz_chunked_iter.chunk_on_num_frames(braidz_fname, 100)
Expand Down

0 comments on commit 3f95add

Please sign in to comment.