Skip to content

Commit 880c7cd

Browse files
committed
merge conflicts
2 parents 5c1d2d9 + e9b57b0 commit 880c7cd

File tree

269 files changed

+24344
-20525
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

269 files changed

+24344
-20525
lines changed

.github/workflows/black-formatting.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,20 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414

15-
- name: Check and apply black formatting
15+
- name: Check black formatting
1616
id: black-check
1717
uses: psf/black@stable
1818
with:
1919
options: "--check --verbose"
2020
continue-on-error: true
2121

22+
- name: Apply black formatting
23+
id: black-apply
24+
uses: psf/black@stable
25+
if : ${{ steps.black-check.outcome == 'failure' }}
26+
with:
27+
options: "--verbose"
28+
2229
- name: Create PR
2330
uses: peter-evans/create-pull-request@v5
2431
if : ${{ steps.black-check.outcome == 'failure' }}

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
.idea
1616
*.swp
1717
*.swo
18+
.vscode
19+
1820

1921
# Compiled source #
2022
###################
@@ -56,6 +58,7 @@ cover
5658
.directory
5759
.gdb_history
5860
.DS_Store?
61+
.DS_Store
5962
ehthumbs.db
6063
Icon?
6164
Thumbs.db
@@ -73,4 +76,8 @@ doc/*.plx
7376
doc/*.nev
7477
doc/*.ns5
7578
doc/*.nix
76-
doc/*.nwb
79+
doc/*.nwb
80+
*.plx
81+
*.smr
82+
B95.zip
83+
grouped_ephys

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2010-2022, Neo authors and contributors
1+
Copyright (c) 2010-2024, Neo authors and contributors
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ For installation instructions, see doc/source/install.rst
5353

5454
To cite Neo in publications, see CITATION.txt
5555

56-
:copyright: Copyright 2010-2022 by the Neo team, see doc/source/authors.rst.
56+
:copyright: Copyright 2010-2024 by the Neo team, see doc/source/authors.rst.
5757
:license: 3-Clause Revised BSD License, see LICENSE.txt for details.
5858

5959
Funding

codemeta.json

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"license": "https://spdx.org/licenses/BSD-3-Clause",
55
"codeRepository": "https://github.com/NeuralEnsemble/python-neo",
66
"contIntegration": "https://github.com/NeuralEnsemble/python-neo/actions",
7-
"dateModified": "2023-04-04",
8-
"downloadUrl": "https://files.pythonhosted.org/packages/4d/95/e79e05c9bc8ef61d89a8a6b949db03adb2046b9fca38422d570c7add543d/neo-0.12.0.tar.gz",
7+
"dateModified": "2024-02-02",
8+
"downloadUrl": "https://files.pythonhosted.org/packages/b2/07/b8653dd235919dc13671fc31bd8bcbb57571e72d75e4cb04dc1347416357/neo-0.13.0.tar.gz",
99
"issueTracker": "https://github.com/NeuralEnsemble/python-neo/issues",
1010
"name": "Neo",
11-
"version": "0.12.0",
11+
"version": "0.13.0",
1212
"identifier": "RRID:SCR_000634",
1313
"description": "Neo is a Python package for working with electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats, including Spike2, NeuroExplorer, AlphaOmega, Axon, Blackrock, Plexon, Tdt, and support for writing to a subset of these formats plus non-proprietary formats including HDF5.\n\nThe goal of Neo is to improve interoperability between Python tools for analyzing, visualizing and generating electrophysiology data by providing a common, shared object model. In order to be as lightweight a dependency as possible, Neo is deliberately limited to represention of data, with no functions for data analysis or visualization.\n\nNeo is used by a number of other software tools, including SpykeViewer (data analysis and visualization), Elephant (data analysis), the G-node suite (databasing), PyNN (simulations), tridesclous_ (spike sorting) and ephyviewer (data visualization).\n\nNeo implements a hierarchical data model well adapted to intracellular and extracellular electrophysiology and EEG data with support for multi-electrodes (for example tetrodes). Neo's data objects build on the quantities package, which in turn builds on NumPy by adding support for physical dimensions. Thus Neo objects behave just like normal NumPy arrays, but with additional metadata, checks for dimensional consistency and automatic unit conversion.",
1414
"applicationCategory": "neuroscience",
15-
"releaseNotes": "https://neo.readthedocs.io/en/stable/releases/0.12.0.html",
15+
"releaseNotes": "https://neo.readthedocs.io/en/stable/releases/0.13.0.html",
1616
"funding": "https://cordis.europa.eu/project/id/945539",
1717
"developmentStatus": "active",
1818
"referencePublication": "https://doi.org/10.3389/fninf.2014.00010",
@@ -26,10 +26,7 @@
2626
"Python (version 3.8+)",
2727
"see https://github.com/NeuralEnsemble/python-neo/blob/master/pyproject.toml"
2828
],
29-
"relatedLink": [
30-
"https://neo.readthedocs.io",
31-
"https://neuralensemble.org/community"
32-
],
29+
"relatedLink": ["https://neo.readthedocs.io", "https://neuralensemble.org/community"],
3330
"author": [
3431
{ "@type": "Person", "givenName": "Samuel", "familyName": "Garcia" },
3532
{
@@ -71,34 +68,17 @@
7168
{ "@type": "Person", "givenName": "William", "familyName": "Hart" },
7269
{ "@type": "Person", "alternateName": "erikli(github)" },
7370
{ "@type": "Person", "givenName": "Jeffrey", "familyName": "Gill" },
74-
{
75-
"@type": "Person",
76-
"givenName": "Lucas",
77-
"alternateName": "lkoelman@github"
78-
},
71+
{ "@type": "Person", "givenName": "Lucas", "alternateName": "lkoelman@github" },
7972
{ "@type": "Person", "givenName": "Mark", "familyName": "Histed" },
8073
{ "@type": "Person", "givenName": "Mike", "familyName": "Sintsov" },
8174
{ "@type": "Person", "givenName": "Scott W", "familyName": "Harden" },
82-
{
83-
"@type": "Person",
84-
"givenName": "Chek Yin",
85-
"familyName": "Choi",
86-
"alternateName": "hkchekc@github"
87-
},
75+
{ "@type": "Person", "givenName": "Chek Yin", "familyName": "Choi", "alternateName": "hkchekc@github" },
8876
{ "@type": "Person", "givenName": "Corentin", "familyName": "Fragnaud" },
89-
{
90-
"@type": "Person",
91-
"givenName": "Alexander",
92-
"familyName": "Kleinjohann"
93-
},
77+
{ "@type": "Person", "givenName": "Alexander", "familyName": "Kleinjohann" },
9478
{ "@type": "Person", "givenName": "Christian", "familyName": "Kothe" },
9579
{ "@type": "Person", "alternateName": "rishidhingra@github" },
9680
{ "@type": "Person", "givenName": "Hugo", "familyName": "van Kemenade" },
97-
{
98-
"@type": "Person",
99-
"givenName": "Aitor",
100-
"familyName": "Morales-Gregorio"
101-
},
81+
{ "@type": "Person", "givenName": "Aitor", "familyName": "Morales-Gregorio" },
10282
{ "@type": "Person", "givenName": "Peter N", "familyName": "Steinmetz" },
10383
{ "@type": "Person", "givenName": "Shashwat", "familyName": "Sridhar" },
10484
{ "@type": "Person", "givenName": "Alessio", "familyName": "Buccino" },
@@ -108,6 +88,21 @@
10888
{ "@type": "Person", "givenName": "Ben", "familyName": "Dichter" },
10989
{ "@type": "Person", "givenName": "Elodie", "familyName": "Legouée" },
11090
{ "@type": "Person", "givenName": "Heberto", "familyName": "Mayorquin" },
111-
{ "@type": "Person", "givenName": "Thomas", "familyName": "Perret" }
91+
{ "@type": "Person", "givenName": "Thomas", "familyName": "Perret" },
92+
{ "@type": "Person", "givenName": "Zach", "familyName": "McKenzie" },
93+
{ "@type": "Person", "givenName": "Moritz Alexander", "familyName": "Kern" },
94+
{ "@type": "Person", "givenName": "Joscha", "familyName": "Schmiedt" },
95+
{ "@type": "Person", "givenName": "Daniel P.", "familyName": "Crepeau" },
96+
{ "@type": "Person", "givenName": "Divyansh", "familyName": "Gupta" },
97+
{ "@type": "Person", "givenName": "Nate", "familyName": "Dolensek" },
98+
{ "@type": "Person", "givenName": "Philipp", "familyName": "Hornauer" },
99+
{ "@type": "Person", "givenName": "Robert", "familyName": "Wolff" },
100+
{ "@type": "Person", "givenName": "Jules", "familyName": "Lebert" },
101+
{ "@type": "Person", "givenName": "Benjamin", "familyName": "Heasly" },
102+
{ "@type": "Person", "givenName": "Baptiste", "familyName": "Grimaud" },
103+
{ "@type": "Person", "givenName": "Cody", "familyName": "Baker" },
104+
{ "@type": "Person", "givenName": "Fernando J.", "familyName": "Chaure" },
105+
{ "@type": "Person", "alternateName": "Filipe@github" },
106+
{ "@type": "Person", "givenName": "Matthias Klumpp" }
112107
]
113108
}

doc/old_stuffs/developers_guide.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ The :doc:`governance` document describes how decisions about the project are tak
248248

249249

250250
.. _Python: https://www.python.org
251-
.. _nose: https://nose.readthedocs.io/
252251
.. _Setuptools: https://pypi.python.org/pypi/setuptools/
253252
.. _tox: http://codespeak.net/tox/
254253
.. _coverage: https://coverage.readthedocs.io/

doc/source/authors.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,25 @@ and may not be the current affiliation of a contributor.
6060
* Etienne Combrisson [6]
6161
* Ben Dichter [24]
6262
* Elodie Legouée [21]
63+
* Oliver Kloss [13]
6364
* Heberto Mayorquin [24]
6465
* Thomas Perret [25]
6566
* Kyle Johnsen [26, 27]
67+
* Zach McKenzie [28]
68+
* Moritz Alexander Kern
69+
* Joscha Schmiedt
70+
* Daniel P. Crepeau
71+
* Divyansh Gupta
72+
* Nate Dolensek
73+
* Philipp Hornauer
74+
* Robert Wolff
75+
* Jules Lebert
76+
* Benjamin Heasly
77+
* Baptiste Grimaud
78+
* Cody Baker
79+
* Fernando J. Chaure
80+
* Filipe*github
81+
* Matthias Klumpp
6682

6783
1. Centre de Recherche en Neuroscience de Lyon, CNRS UMR5292 - INSERM U1028 - Universite Claude Bernard Lyon 1
6884
2. Unité de Neuroscience, Information et Complexité, CNRS UPR 3293, Gif-sur-Yvette, France
@@ -91,6 +107,7 @@ and may not be the current affiliation of a contributor.
91107
25. Institut des Sciences Cognitives Marc Jeannerod, CNRS UMR5229, Lyon, France
92108
26. Georgia Institute of Technology
93109
27. Emory University
110+
28. Harvard Medical School
94111

95112
If we've somehow missed you off the list we're very sorry - please let us know.
96113

doc/source/conf.py

Lines changed: 40 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
from packaging.version import Version
1919

20-
with open('../../pyproject.toml', mode='r') as f:
20+
with open("../../pyproject.toml", mode="r") as f:
2121
txt = f.read()
2222
neo_release = re.findall('version = "(\S+)"', txt)[0]
2323

24-
neo_version = '.'.join((str(e) for e in Version(neo_release).release[:2]))
24+
neo_version = ".".join((str(e) for e in Version(neo_release).release[:2]))
2525

26-
AUTHORS = 'Neo authors and contributors <[email protected]>'
26+
AUTHORS = "Neo authors and contributors <[email protected]>"
2727

2828
# If extensions (or modules to document with autodoc) are in another directory,
2929
# add these directories to sys.path here. If the directory is relative to the
@@ -34,28 +34,33 @@
3434

3535
# Add any Sphinx extension module names here, as strings. They can be
3636
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
37-
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo',
38-
'IPython.sphinxext.ipython_console_highlighting',
39-
'IPython.sphinxext.ipython_directive',
40-
'matplotlib.sphinxext.plot_directive',
41-
'sphinx_gallery.gen_gallery',
42-
'sphinx_inline_tabs', "sphinx_design"]
37+
extensions = [
38+
"sphinx.ext.autodoc",
39+
"sphinx.ext.doctest",
40+
"sphinx.ext.todo",
41+
"IPython.sphinxext.ipython_console_highlighting",
42+
"IPython.sphinxext.ipython_directive",
43+
"matplotlib.sphinxext.plot_directive",
44+
"sphinx_gallery.gen_gallery",
45+
"sphinx_inline_tabs",
46+
"sphinx_design",
47+
]
4348

4449
# Add any paths that contain templates here, relative to this directory.
45-
templates_path = ['_templates']
50+
templates_path = ["_templates"]
4651

4752
# The suffix of source filenames.
48-
source_suffix = '.rst'
53+
source_suffix = ".rst"
4954

5055
# The encoding of source files.
5156
# source_encoding = 'utf-8'
5257

5358
# The master toctree document.
54-
master_doc = 'index'
59+
master_doc = "index"
5560

5661
# General information about the project.
57-
project = 'Neo'
58-
copyright = '2010-2023, ' + AUTHORS
62+
project = "Neo"
63+
copyright = "2010-2024, " + AUTHORS
5964

6065
# The version info for the project you're documenting, acts as replacement for
6166
# |version| and |release|, also used in various other places throughout the
@@ -99,7 +104,7 @@
99104
# show_authors = False
100105

101106
# The name of the Pygments (syntax highlighting) style to use.
102-
pygments_style = 'sphinx'
107+
pygments_style = "sphinx"
103108

104109
# A list of ignored prefixes for module index sorting.
105110
# modindex_common_prefix = []
@@ -115,32 +120,28 @@
115120
# html_theme = 'scrolls'
116121
# html_theme = 'agogo'
117122
# html_theme = 'alabaster'
118-
html_theme = 'pydata_sphinx_theme'
123+
html_theme = "pydata_sphinx_theme"
119124

120125
# Theme options are theme-specific and customize the look and feel of a theme
121126
# further. For a list of options available for each theme, see the
122127
# documentation.
123128

124129
html_theme_options = {
125130
"logo": {
126-
"image_light": "images/neologo_small.png",
127-
"image_dark": "images/neologo_small_darkmode.png",
131+
"image_light": "images/neologo_small.png",
132+
"image_dark": "images/neologo_small_darkmode.png",
128133
},
129-
'icon_links': [
130-
{
131-
"name": 'GitHub',
132-
"url": 'https://github.com/NeuralEnsemble/python-neo',
133-
"icon": 'fa-brands fa-square-github'
134-
},
134+
"icon_links": [
135+
{"name": "GitHub", "url": "https://github.com/NeuralEnsemble/python-neo", "icon": "fa-brands fa-square-github"},
135136
{
136137
"name": "PyPI",
137138
"url": "https://pypi.org/project/neo",
138139
"icon": "fa-solid fa-box",
139140
},
140141
],
141-
'icon_links_label': 'External Links', # for screen reader
142-
'use_edit_page_button': False,
143-
'navbar_end': ['theme-switcher', 'navbar-icon-links'],
142+
"icon_links_label": "External Links", # for screen reader
143+
"use_edit_page_button": False,
144+
"navbar_end": ["theme-switcher", "navbar-icon-links"],
144145
}
145146

146147
# Add any paths that contain custom themes here, relative to this directory.
@@ -155,22 +156,22 @@
155156

156157
# The name of an image file (relative to this directory) to place at the top
157158
# of the sidebar.
158-
html_logo = 'images/neologo_small.png'
159+
html_logo = "images/neologo_small.png"
159160

160161

161162
# The name of an image file (within the static path) to use as favicon of the
162163
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
163164
# pixels large.
164-
html_favicon = 'images/neologo_favicon.png'
165+
html_favicon = "images/neologo_favicon.png"
165166

166167

167168
# Add any paths that contain custom static files (such as style sheets) here,
168169
# relative to this directory. They are copied after the builtin static files,
169170
# so a file named "default.css" will overwrite the builtin "default.css".
170-
html_static_path = ['images', '_static']
171+
html_static_path = ["images", "_static"]
171172

172173
html_css_files = [
173-
'css/custom.css',
174+
"css/custom.css",
174175
]
175176

176177
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
@@ -209,7 +210,7 @@
209210
# html_file_suffix = ''
210211

211212
# Output file base name for HTML help builder.
212-
htmlhelp_basename = 'neodoc'
213+
htmlhelp_basename = "neodoc"
213214

214215

215216
# -- Options for LaTeX output -------------------------------------------------
@@ -223,8 +224,7 @@
223224
# Grouping the document tree into LaTeX files. List of tuples
224225
# (source start file, target name, title, author,
225226
# documentclass [howto/manual]).
226-
latex_documents = [('index', 'neo.tex', 'Neo Documentation',
227-
AUTHORS, 'manual')]
227+
latex_documents = [("index", "neo.tex", "Neo Documentation", AUTHORS, "manual")]
228228

229229
# The name of an image file (relative to this directory) to place at the
230230
# top of the title page.
@@ -247,9 +247,12 @@
247247

248248
rst_epilog = """
249249
.. |neo_github_url| replace:: https://github.com/NeuralEnsemble/python-neo/archive/neo-{}.zip
250-
""".format(neo_release)
250+
""".format(
251+
neo_release
252+
)
251253

252254
sphinx_gallery_conf = {
253-
'examples_dirs': '../../examples', # path to your example scripts
254-
'gallery_dirs': 'examples', # path to where to save gallery generated output
255+
# 'only_warn_on_example_error': True, # helps with debugging broken examples
256+
"examples_dirs": "../../examples", # path to your example scripts
257+
"gallery_dirs": "examples", # path to where to save gallery generated output
255258
}

0 commit comments

Comments
 (0)