Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Cathy0908 committed Jan 10, 2025
1 parent f030f47 commit 6ccf2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_juicer/core/ray_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def _run_single_op(self, op):
self.num_proc, op.use_cuda())
num_gpus = get_num_gpus(op, op_proc)

if op._name in TAGGING_OPS.modules and Fields.meta not in self.data.columns(
):
if (op._name in TAGGING_OPS.modules
and Fields.meta not in self.data.columns()):

def process_batch_arrow(table: pyarrow.Table):
new_column_data = [{} for _ in range(len(table))]
Expand Down

0 comments on commit 6ccf2d9

Please sign in to comment.