We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d18b17a commit 16541cfCopy full SHA for 16541cf
jackernel/kernel.py
@@ -36,7 +36,7 @@ def exec_jac(code: str) -> str:
36
f.write(code)
37
38
try:
39
- jac_import(op.join(tmpdir, "temp"))
+ jac_import(target=op.join(tmpdir, "temp"), base_path=tmpdir)
40
# Import the jac file, this generates the __jac_gen__ folder at the same level as the jac file,
41
# This folder contains the python file that we want to execute.
42
script_path = op.join(tmpdir, "__jac_gen__/temp.py")
@@ -59,6 +59,8 @@ def exec_jac(code: str) -> str:
59
finally:
60
pass
61
62
+ return captured_output
63
+
64
65
class JacKernel(Kernel):
66
"""Jac wrapper kernel."""
0 commit comments