Skip to content

Commit

Permalink
Merge branch 'main' into nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
marsipu authored Dec 15, 2024
2 parents d3fb3fe + 580c6e5 commit f610800
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
17 changes: 17 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
changelog:
exclude:
authors:
- pre-commit-ci
categories:
- title: New Features 💫
labels:
- enhancement
- title: Bug Fixes 🐞
labels:
- bug
- title: Maintenance 🛠️
labels:
- maintenance
- title: Other Changes
labels:
- "*"
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ repos:

# Black
- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.8.0
hooks:
- id: black

# Ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.7
rev: v0.6.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@

1. Install MNE-python as instructed on
the [website](https://www.martinos.org/mne/stable/install_mne_python.html)
2. Then run `pip install https://github.com/marsipu/mne-pipeline-hd/zipball/main` in the conda-enviroment you created in step 1 for MNE-Python.
2. To install `mne_pipeline_hd` in the conda-enviroment you created in step 1 you can either
- Install the stable version with `pip install mne_pipeline_hd`
- Install the development version with `pip install git+https://github.com/marsipu/mne_pipeline_hd.git@main`

## Update

Run `pip install --upgrade --no-deps --force-reinstall https://github.com/marsipu/mne-pipeline-hd/zipball/main`
Run `pip install --upgrade --no-deps --force-reinstall git+https://github.com/marsipu/mne_pipeline_hd.git@main`
for an update to the development version
or `pip install --upgrade mne-pipeline-hd` for the latest release.
or `pip install --upgrade mne-pipeline-hd` for the latest stable release.

## Start

Expand Down
2 changes: 1 addition & 1 deletion mne_pipeline_hd/gui/gui_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def init_ui(self):

def on_thread_finished(self, return_value):
# Store return value to send it when user closes the dialog
if type(return_value) == ExceptionTuple and not self.return_exception:
if type(return_value) is ExceptionTuple and not self.return_exception:
return_value = None
self.return_value = return_value
self.is_finished = True
Expand Down

0 comments on commit f610800

Please sign in to comment.