Skip to content

Commit 58266c7

Browse files
committed
remove warning
1 parent 2e1b35e commit 58266c7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

neo/rawio/plexon2rawio/plexon2rawio.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,7 @@ def __init__(self, filename, pl2_dll_file_path=None):
8686
pl2_dll_folder.mkdir(exist_ok=True)
8787
pl2_dll_file_path = pl2_dll_folder / file_name
8888

89-
if pl2_dll_file_path.exists():
90-
# I think this warning should be removed
91-
# Warnings should provide a solution but this is
92-
# just a reminder to the user of normal behavior
93-
warnings.warn(f'Using cached plexon dll at {pl2_dll_file_path}')
94-
else:
89+
if not pl2_dll_file_path.exists():
9590
url = f'https://raw.githubusercontent.com/Neuralensemble/pypl2/master/bin/{file_name}'
9691
dist = urlopen(url=url)
9792

0 commit comments

Comments
 (0)