Skip to content

Commit

Permalink
Hotfix for get beaker dataset id (#357)
Browse files Browse the repository at this point in the history
* Hotfix for get beaker dataset id

* quick fix
  • Loading branch information
vwxyzjn authored Sep 18, 2024
1 parent e26c023 commit cea945b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_instruct/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ def get_beaker_dataset_ids(experiment_id: str, sort=False) -> Optional[List[str]
dataset_infos.extend(
[
DatasetInfo(
id=dataset["id"], committed=dataset["committed"], non_empty=dataset["storage"]["totalSize"] > 0
id=dataset["id"], committed=dataset["committed"], non_empty=False if dataset["storage"]["totalSize"] is None else dataset["storage"]["totalSize"] > 0
)
for dataset in datasets
]
Expand Down

0 comments on commit cea945b

Please sign in to comment.