Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Theresa Pollinger
MoSIS
Commits
193c3491
Commit
193c3491
authored
Mar 07, 2018
by
Theresa Pollinger
Browse files
Metakernel working
parent
abbfa2a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
interview_kernel/interview_kernel.py
View file @
193c3491
...
...
@@ -81,12 +81,7 @@ class Interview(MetaKernel):
self
.
poutstring
=
""
self
.
outstream_name
=
'stdout'
return
{
'status'
:
'ok'
,
# The base class increments the execution count
'execution_count'
:
self
.
execution_count
,
'payload'
:
[],
'user_expressions'
:
{},
}
return
# stream_content['text']
def
state_input_handling
(
self
,
arg
):
"""The standard input handling, depending on which state we are in"""
...
...
interview_kernel/mmtinterface.py
View file @
193c3491
...
...
@@ -181,7 +181,7 @@ class MMTInterface:
self
.
extension
=
':interview'
self
.
URIprefix
=
'http://mathhub.info/'
self
.
namespace
=
'MitM/smglom/calculus'
# TODO
self
.
debugprint
=
Tru
e
self
.
debugprint
=
Fals
e
def
mmt_new_theory
(
self
,
thyname
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment