Skip to content

Commit

Permalink
chore(tests): Comment out unused code in test_pipe.py
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jun 21, 2023
1 parent 369284e commit b77d0cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/hyfi/joblib/test_pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@ def test_pipe():
num_workers=10,
)
print(df3)
pipe_config = HyFI.compose("pipe=__instance__")
# pipe_config = HyFI.compose("pipe=__instance__")
pipe_config = HyFI.pipe_config(config_name="__instance__")
pipe_config._method_ = "filter"
pipe_config.apply_to = ""
pipe_config.rcParams = {"items": ["text"]}
pipe_config.verbose = True
print(pipe_config)
df4 = HyFI.pipe(df, pipe_config)
print(df4)
pipe_config = HyFI.compose("pipe=__lambda__")
# pipe_config = HyFI.compose("pipe=__lambda__")
pipe_config = HyFI.pipe_config(config_name="__lambda__")
pipe_config._method_ = "lambda x: x.replace('Economic', 'ECON')"
pipe_config.apply_to = "text"
pipe_config.num_workers = 5
Expand Down

0 comments on commit b77d0cb

Please sign in to comment.