Skip to content

Commit

Permalink
increase plexon reading attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Oct 13, 2024
1 parent af4c617 commit ef2a3a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neo/rawio/plexon2rawio/plexon2rawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Plexon2RawIO(BaseRawIO):
pl2_dll_file_path: str | Path | None, default: None
The path to the necessary dll for loading pl2 files
If None will find correct dll for architecture and if it does not exist will download it
reading_attempts: int, default: 25
reading_attempts: int, default: 35
Number of attempts to read the file before raising an error
This opening process is somewhat unreliable and might fail occasionally. Adjust this higher
if you encounter problems in opening the file.
Expand Down Expand Up @@ -93,7 +93,7 @@ class Plexon2RawIO(BaseRawIO):
extensions = ["pl2"]
rawmode = "one-file"

def __init__(self, filename, pl2_dll_file_path=None, reading_attempts=25):
def __init__(self, filename, pl2_dll_file_path=None, reading_attempts=35):

# signals, event and spiking data will be cached
# cached signal data can be cleared using `clear_analogsignal_cache()()`
Expand Down

0 comments on commit ef2a3a1

Please sign in to comment.