Skip to content

Commit ecc3c1e

Browse files
committed
increase default attetmps
1 parent 1cd990a commit ecc3c1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/plexon2rawio/plexon2rawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Plexon2RawIO(BaseRawIO):
5353
pl2_dll_file_path: str | Path | None, default: None
5454
The path to the necessary dll for loading pl2 files
5555
If None will find correct dll for architecture and if it does not exist will download it
56-
reading_attempts: int, default: 15
56+
reading_attempts: int, default: 25
5757
Number of attempts to read the file before raising an error
5858
This opening process is somewhat unreliable and might fail occasionally. Adjust this higher
5959
if you encounter problems in opening the file.
@@ -92,7 +92,7 @@ class Plexon2RawIO(BaseRawIO):
9292
extensions = ["pl2"]
9393
rawmode = "one-file"
9494

95-
def __init__(self, filename, pl2_dll_file_path=None, reading_attempts=15):
95+
def __init__(self, filename, pl2_dll_file_path=None, reading_attempts=25):
9696

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

0 commit comments

Comments
 (0)