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
FSL
gui
fsl-gui-bet
Commits
c2130cfb
Commit
c2130cfb
authored
Mar 24, 2021
by
Paul McCarthy
🚵
Browse files
RF: Change message handler argument order
parent
6066e38e
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/fsl/gui/bet/bet.py
View file @
c2130cfb
...
...
@@ -11,7 +11,7 @@ import fsl.wrappers as wrappers
import
fsl.gui.server
as
fslserver
async
def
set_input
(
si
d
,
si
o
,
msg
):
async
def
set_input
(
si
o
,
si
d
,
msg
):
"""This handler is called when a message of type ``'input'`` is received.
When the user selects an input file, a default output file name is
generated and emitted via a message of type ``'output'``.
...
...
@@ -22,7 +22,7 @@ async def set_input(sid, sio, msg):
await
sio
.
emit
(
'output'
,
{
'filename'
:
outfile
},
room
=
sid
)
async
def
run_bet
(
si
d
,
si
o
,
msg
):
async
def
run_bet
(
si
o
,
si
d
,
msg
):
"""This handler is called when a message of type ``'run'`` is received.
It expects to be passed all of the parameters required to run BET via the
:func:`fsl.wrappers.bet` function.
...
...
Write
Preview
Supports
Markdown
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