Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions neo/rawio/plexon2rawio/plexon2rawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ def __init__(self, filename, pl2_dll_file_path=None, reading_attempts=25):

# note that this filename is used in self._source_name
self.filename = pathlib.Path(filename)
if (self.filename.is_symlink()):
self.filename = self.filename.resolve()

if (not self.filename.exists()) or (not self.filename.is_file()):
raise ValueError(f"{self.filename} is not a file.")
Expand Down
Loading