Skip to content

Commit 2a70edb

Browse files
committed
limit numpy 2.0 for docs
1 parent 11941a4 commit 2a70edb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/plot_read_files_neo_io.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
url_repo = "https://web.gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/"
1515

1616
# Plexon files
17-
distantfile = url_repo + "plexon/4chDemoPLX.plx"
18-
localfile = "4chDemoPLX.plx"
17+
distantfile = url_repo + "plexon/File_plexon_3.plx"
18+
localfile = "File_plexon_3.plx"
1919
urllib.request.urlretrieve(distantfile, localfile)
2020

2121

2222
###################################################
2323
# Now we can create our reader and read some data
2424

2525
# create a reader
26-
reader = neo.io.PlexonIO(filename="4chDemoPLX.plx")
26+
reader = neo.io.PlexonIO(filename="File_plexon_3.plx")
2727
# read the blocks
2828
blks = reader.read(lazy=False)
2929
print(blks)

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ docs = [
8080
"matplotlib",
8181
"nixio",
8282
"pynwb",
83-
"igor2"
83+
"igor2",
84+
"numpy<2.0" # https://github.com/NeuralEnsemble/python-neo/pull/1612
8485
]
8586

8687
dev = [

0 commit comments

Comments
 (0)