Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lifeware
biocham
Commits
2bc70f4f
Commit
2bc70f4f
authored
May 04, 2018
by
SOLIMAN Sylvain
Browse files
timeout magic redone
parent
ebc2690e
Changes
1
Hide whitespace changes
Inline
Side-by-side
biocham_kernel/kernel.py
View file @
2bc70f4f
...
...
@@ -161,6 +161,10 @@ class BiochamKernel(IPythonKernel):
except
FileNotFoundError
:
return
"File doesn't exists"
,
[]
if
magic
.
startswith
(
'timeout '
):
self
.
timeout
=
int
(
magic
[
8
:].
split
()[
0
])
return
'Timeout set to '
+
str
(
self
.
timeout
),
[]
if
magic
.
startswith
(
'slider '
):
parameters
=
magic
[
7
:].
split
()
...
...
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