mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-05 05:54:28 +08:00
BUG Regression caused by adding print_algo to args parser. Remove default print_algo kwarg when called from IPython interface.
This commit is contained in:
@@ -125,6 +125,9 @@ def parse_cell_magic(line, cell):
|
||||
args_list = line.split(' ')
|
||||
args = parse_args(args_list, ipython_mode=True)
|
||||
|
||||
# Remove print_algo kwarg to overwrite below.
|
||||
args.pop('print_algo')
|
||||
|
||||
local_namespace = args.pop('local_namespace', False)
|
||||
# By default, execute inside IPython namespace
|
||||
if not local_namespace:
|
||||
|
||||
Reference in New Issue
Block a user