Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
turian committed Sep 2, 2021
1 parent 8b18fb2 commit 1ce771d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hearpreprocess/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def run(self):
# Save the label count for each split
for split, split_df in metadata.groupby("split"):
json.dump(
splitdf["label"].value_counts(normalize=True).to_dict(),
split_df["label"].value_counts(normalize=True).to_dict(),
self.workdir.joinpath(f"labelcount_{split}.json").open("w"),
indent=True,
)
Expand Down

0 comments on commit 1ce771d

Please sign in to comment.