mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-11 20:40:54 +08:00
Merge pull request #682 from quantopian/fix_ipython_call
BUG Regression caused by adding print_algo to args parser.
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