import os
import protocaas.sdk as pr
try:
import h5py
import remfile
import pynwb
...
except ImportError:
# Do not raise import error if we are only generating the spec
if os.environ.get('PROTOCAAS_GENERATE_SPEC', None) != '1':
raise
app = pr.App(
'kilosort2_5',
help="Kilosort 2.5 spike sorting",
app_image="magland/pc-kilosort2_5",
app_executable="/app/main"
)
...
generate_spec.sh
files in the apps directoriesexample usage, from the root dir of an apps repository:
the
main.py
file of the app: