Skip to content

Commit

Permalink
Fix wrong order of args in save_composable_to_shards() call (#41)
Browse files Browse the repository at this point in the history
* use kwargs to fix wrong order of args

* patch bump
  • Loading branch information
AlpAribal authored Jun 14, 2022
1 parent 7a91cff commit 86c095d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/squirrel_datasets_core/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.6"
__version__ = "0.1.7"
12 changes: 6 additions & 6 deletions src/squirrel_datasets_core/preprocessing/save_shards.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ def save_source_to_shards(
src_it = d.get_driver().get_iter(**iter_kwargs)

save_composable_to_shards(
src_it,
session,
cfg.output_data_url,
cfg.num_samples,
cfg.num_shards,
hooks,
src_it=src_it,
session=session,
out_url=cfg.output_data_url,
num_samples=cfg.num_samples,
num_shards=cfg.num_shards,
hooks=hooks,
save_catalog=True,
catalog_identifier=cfg.identifier,
catalog_version=cfg.version,
Expand Down

0 comments on commit 86c095d

Please sign in to comment.