Prepare release 0.103.0 #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validate Default Params | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| types: [synchronize, opened, reopened] | |
| jobs: | |
| schema: | |
| name: Validate default_params against schema | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install packages | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install jsonschema | |
| - name: Validate default params | |
| run: | | |
| python tests/validate_params.py \ | |
| --params pipeline/default_params.json \ | |
| --schema pipeline/default_params_schema.json | |
| sorter-defaults: | |
| name: Check sorter params against SpikeInterface defaults | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install packages | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install $(grep -E '^spikeinterface==' environment/requirements.txt | sed 's/^spikeinterface==/spikeinterface[full]==/') | |
| KS_VERSION=$(grep -oP 'kilosort4-base:\K[0-9.]+' environment/Dockerfile_kilosort4) | |
| echo "Installing kilosort==${KS_VERSION} (from Dockerfile_kilosort4)" | |
| pip install "kilosort==${KS_VERSION}" | |
| - name: Check sorter params | |
| run: | | |
| python tests/check_sorter_params.py --params pipeline/default_params.json |