Skip to content

Commit

Permalink
Always use inferred extension (#183)
Browse files Browse the repository at this point in the history
* Always use inferred extension

* fmt

* bump version
  • Loading branch information
undfined authored Aug 6, 2024
1 parent abb67f7 commit 4322ad0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dolma"
version = "1.0.7"
version = "1.0.8"
description = "Data filters"
license = { text = "Apache-2.0" }
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions src/shard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ impl Shard {
}
if !shard_inputs.is_empty() {
let output = format!(
"{}/{}-{:04}.json.gz",
stream_config.output.path, stream_config.name, stream_shard_count
"{}/{}-{:04}.json{}",
stream_config.output.path, stream_config.name, stream_shard_count, output_ext
);
let shard = Shard {
inputs: shard_inputs.clone(),
Expand Down

0 comments on commit 4322ad0

Please sign in to comment.