Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RELEASE] V0.6 #162

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Then one could plot the memory usage:
4. Upload to Test PyPi


twine upload --repository-url https://test.pypi.org/legacy/ dist/*
twine upload dist/* --repository-url https://test.pypi.org/legacy/ --repository mne-connectivity


5. Build docs locally
Expand All @@ -97,7 +97,6 @@ Then one could plot the memory usage:

7. Make release to PyPi


twine upload dist/*

or if you have two-factor authentication enabled: <https://pypi.org/help/#apitoken>
Expand Down
11 changes: 8 additions & 3 deletions doc/_static/versions.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
[
{
"name": "0.6 (devel)",
"name": "0.7 (devel)",
"version": "dev",
"url": "https://mne.tools/mne-connectivity/dev/"
},
{
"name": "0.5 (stable)",
"version": "0.5",
"name": "0.6",
"version": "stable",
"url": "https://mne.tools/mne-connectivity/stable/"
},
{
"name": "0.5",
"version": "0.5",
"url": "https://mne.tools/mne-connectivity/v0.5/"
},
{
"name": "0.4",
"version": "0.4",
Expand Down
10 changes: 4 additions & 6 deletions doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@ Here we list a changelog of MNE-connectivity.

.. _current:

Version 0.6 (unreleased)
------------------------
Version 0.7 (in dev)
--------------------



Enhancements
~~~~~~~~~~~~

- Add the option to set the number of connections plotted in :func:`mne_connectivity.viz.plot_sensors_connectivity` by `Qianliang Li`_ (:pr:`133`).
- Allow setting colormap via new parameter ``cmap`` in :func:`mne_connectivity.viz.plot_sensors_connectivity` by `Daniel McCloy`_ (:pr:`141`).
- Add support for multivariate connectivity methods in :func:`mne_connectivity.spectral_connectivity_epochs` and :func:`mne_connectivity.spectral_connectivity_time` by `Thomas Binns`_ and `Tien Nguyen`_ and `Richard Köhler`_ (:pr:`138`) and (:pr:`142`).

-

Bug
~~~
Expand Down
15 changes: 15 additions & 0 deletions doc/whats_new_previous_releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@
What was new in previous releases?
==================================

Version 0.6
-----------

This version introduces new functionality for computing multivariate connectivity methods, championed primarily by
`Thomas Binns`_. The ``spectral_connectivity_time`` and ``spectral_connectivity_epochs`` functions
now supports multivariate connectivity methods.

Enhancements
~~~~~~~~~~~~

- Add the option to set the number of connections plotted in :func:`mne_connectivity.viz.plot_sensors_connectivity` by `Qianliang Li`_ (:pr:`133`).
- Allow setting colormap via new parameter ``cmap`` in :func:`mne_connectivity.viz.plot_sensors_connectivity` by `Daniel McCloy`_ (:pr:`141`).
- Add support for multivariate connectivity methods in :func:`mne_connectivity.spectral_connectivity_epochs` and :func:`mne_connectivity.spectral_connectivity_time` by `Thomas Binns`_ and `Tien Nguyen`_ and `Richard Köhler`_ (:pr:`138`) and (:pr:`142`).


Version 0.5 (2023-01-13)
------------------------

Expand Down
23 changes: 10 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
build-backend = 'setuptools.build_meta'
requires = ['setuptools >= 64.0.0']
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"

[project]
classifiers = [
Expand All @@ -20,13 +20,13 @@ classifiers = [
'Topic :: Software Development',
]
dependencies = [
'mne >= 1.2',
'netCDF4',
'mne >= 1.6',
'netCDF4 >= 1.6.5',
'numpy >= 1.21',
'pandas',
'pandas >= 1.3.2',
'scipy >= 1.4.0',
'tqdm',
'xarray',
'xarray >= 2023.11.0',
]
description = 'mne-connectivity: A module for connectivity data analysis with MNE.'
keywords = [
Expand All @@ -41,9 +41,9 @@ maintainers = [
{email = '[email protected]', name = 'Adam Li'},
]
name = 'mne-connectivity'
readme = 'README.md'
requires-python = '~=3.9'
version = "0.6.0.dev0"
readme = { file='README.rst', content-type = "text/x-rst"}
requires-python = '>=3.9'
version = "0.6.0"

[project.optional-dependencies]
all = [
Expand Down Expand Up @@ -239,10 +239,7 @@ line-length = 88
'__init__.py' = ['F401']

[tool.setuptools]
include-package-data = false

[tool.setuptools.package-data]
'mne_connectivity.iclabel.network' = ['assets/*']
include-package-data = true

[tool.setuptools.packages.find]
exclude = ['mne_connectivity*tests']
Expand Down
Loading