Commit c2130cfb authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: Change message handler argument order

parent 6066e38e
......@@ -11,7 +11,7 @@ import fsl.wrappers as wrappers
import fsl.gui.server as fslserver
async def set_input(sid, sio, msg):
async def set_input(sio, sid, 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(sid, sio, msg):
async def run_bet(sio, sid, 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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment