This commit is contained in:
Vitor Santos Costa 2018-06-03 23:59:17 +01:00
parent 840eb3b0fd
commit 40096b3fdc
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/**
/**
* @file jupyter.yap4py
*
* @brief JUpyter support.
@ -32,7 +32,7 @@ jupyter_cell(_Caller, Cell, _) :-
jupyter_cell( _Caller, _, Line ) :-
blank( Line ),
!.
jupyter_cell( _Caller, _, [] ) :- !.
jupyter_cell( _Caller, _, '' ) :- !.
jupyter_cell( Caller, _, Line ) :-
Self := Caller.query,
python_query(Self,Line).
@ -72,7 +72,7 @@ blankc('\t').
streams(false) :-
nb_setval(jupyter_cell, false),
retract(cell_stream(S)),
retract(cell_stream(S)),
close(S),
fail.
streams(false).
@ -213,4 +213,3 @@ plot_inline :-
:- endif.
%:- ( start_low_level_trace ).