rtCommon.openNeuroService

A command-line service to be run where the OpenNeuro data is downloaded and cached. This service instantiates a BidsInterface object for serving the data back to the client running in the cloud. It connects to the remote projectServer. Once a connection is established it waits for requets and invokes the BidsInterface functions to handle them.

Module Contents

Classes

OpenNeuroService

A class that implements the OpenNeuroService by instantiating a BidsInterface, connecting

Attributes

currPath

rootPath

connectionArgs

rtCommon.openNeuroService.currPath
rtCommon.openNeuroService.rootPath
class rtCommon.openNeuroService.OpenNeuroService(args, webSocketChannelName='wsData')

A class that implements the OpenNeuroService by instantiating a BidsInterface, connecting to the remote projectServer and servicing requests to the BidsInterface.

runDetached(self)

Starts the receiver in it’s own thread.

rtCommon.openNeuroService.connectionArgs