Skip to content

Commit

Permalink
limit numpy 2.0 for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Dec 13, 2024
1 parent 11941a4 commit 2a70edb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/plot_read_files_neo_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
url_repo = "https://web.gin.g-node.org/NeuralEnsemble/ephy_testing_data/raw/master/"

# Plexon files
distantfile = url_repo + "plexon/4chDemoPLX.plx"
localfile = "4chDemoPLX.plx"
distantfile = url_repo + "plexon/File_plexon_3.plx"
localfile = "File_plexon_3.plx"
urllib.request.urlretrieve(distantfile, localfile)


###################################################
# Now we can create our reader and read some data

# create a reader
reader = neo.io.PlexonIO(filename="4chDemoPLX.plx")
reader = neo.io.PlexonIO(filename="File_plexon_3.plx")
# read the blocks
blks = reader.read(lazy=False)
print(blks)
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ docs = [
"matplotlib",
"nixio",
"pynwb",
"igor2"
"igor2",
"numpy<2.0" # https://github.com/NeuralEnsemble/python-neo/pull/1612
]

dev = [
Expand Down

0 comments on commit 2a70edb

Please sign in to comment.