From 11ca4dd5a97f4ac1dde857da7792eddd7bb8d118 Mon Sep 17 00:00:00 2001 From: Yanay Rosen Date: Wed, 24 Apr 2019 11:30:06 -0700 Subject: [PATCH 1/3] First commit --- gofer/notebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gofer/notebook.py b/gofer/notebook.py index cb5dc50..a330cef 100644 --- a/gofer/notebook.py +++ b/gofer/notebook.py @@ -108,7 +108,7 @@ def execute_notebook(nb, secret='secret', initial_env=None, ignore_errors=False) # FIXME: use appropriate IPython functions here isp = IPythonInputSplitter(line_input_checker=False) try: - code_lines = [] + code_lines = ['import warnings', 'warnings.filterwarnings("ignore")'] cell_source_lines = cell['source'] source_is_str_bool = False if isinstance(cell_source_lines, str): From 75b0d3b099a10b32a533c1f1832c3110fb1b5be1 Mon Sep 17 00:00:00 2001 From: Yanay Rosen Date: Wed, 24 Apr 2019 11:39:03 -0700 Subject: [PATCH 2/3] First commit --- gofer/notebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gofer/notebook.py b/gofer/notebook.py index a330cef..c8d85da 100644 --- a/gofer/notebook.py +++ b/gofer/notebook.py @@ -108,7 +108,7 @@ def execute_notebook(nb, secret='secret', initial_env=None, ignore_errors=False) # FIXME: use appropriate IPython functions here isp = IPythonInputSplitter(line_input_checker=False) try: - code_lines = ['import warnings', 'warnings.filterwarnings("ignore")'] + code_lines = ['import warnings\n', 'warnings.filterwarnings("ignore")\n'] cell_source_lines = cell['source'] source_is_str_bool = False if isinstance(cell_source_lines, str): From dcf46929d0363fb58fa4edf14a60c585a5353f82 Mon Sep 17 00:00:00 2001 From: Yanay Rosen Date: Wed, 24 Apr 2019 11:59:21 -0700 Subject: [PATCH 3/3] First commit --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8ad1113..284e9f3 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='gofer_grader', - version='1.0.9', + version='1.1.0', license='3-clause BSD', author='Vincent Su', author_email='vipasu@berkeley.edu',