Skip to content
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
17 changes: 12 additions & 5 deletions .github/workflows/core-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,20 @@ jobs:
fail-fast: true
matrix:
os: ["ubuntu-latest", "windows-latest"]
# "macos-latest",
python-version: ['3.7', '3.8', '3.9']
numpy-version: ['1.16.6', '1.17.5', '1.18.5', '1.19.5', '1.20.3', '1.21.5', '1.22.3']
# "macos-latest",
python-version: ['3.7', '3.8', '3.9', '3.10']
numpy-version: ['1.18.5', '1.19.5', '1.20.3', '1.21.6', '1.22.4', '1.23.0']
exclude:
- python-version: '3.7'
numpy-version: '1.22.3'

numpy-version: '1.22.4'
- python-version: '3.7'
numpy-version: '1.23.0'
- python-version: '3.10'
numpy-version: '1.18.5'
- python-version: '3.10'
numpy-version: '1.19.5'
- python-version: '3.10'
numpy-version: '1.20.3'
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion doc/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Dependencies
------------

* Python_ >= 3.7
* numpy_ >= 1.16.1
* numpy_ >= 1.18.5
* quantities_ >= 0.12.1

You can install the latest published version of Neo and its dependencies using::
Expand Down
4 changes: 4 additions & 0 deletions neo/test/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ def assert_same_sub_schema(ob1, ob2, equal_almost=True, threshold=1e-10, exclude
the comparison

'''
if isinstance(ob1, SpikeTrainList) and isinstance(ob2, list):
# for debugging occasional test failure
raise Exception("items={}\nspike_time_array={}\nlist length: {}".format(
str(ob1._items), str(ob1._spike_time_array), len(ob2)))
assert type(ob1) == type(ob2), 'type({}) != type({})'.format(type(ob1), type(ob2))
classname = ob1.__class__.__name__

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os

long_description = open("README.rst").read()
install_requires = ['numpy>=1.16.1',
install_requires = ['numpy>=1.18.5',
'quantities>=0.12.1']
extras_require = {
'igorproio': ['igor'],
Expand Down Expand Up @@ -46,6 +46,7 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering']
)