Skip to content

Commit

Permalink
fix return none in RayExecutor.run_op (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cathy0908 authored Jul 4, 2024
1 parent 1244d4f commit bfebbde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data_juicer/core/ray_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ def run_op(self, op, op_cfg, dataset):
'Ray executor only support Filter and Mapper OPs for '
'now')
raise NotImplementedError

return dataset
except: # noqa: E722
logger.error(f'An error occurred during Op [{op_name}].')
import traceback
Expand Down

0 comments on commit bfebbde

Please sign in to comment.