Skip to content

Commit 74deb34

Browse files
committed
pathlib
1 parent 6834457 commit 74deb34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

neo/rawio/neuralynxrawio/neuralynxrawio.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
)
5656
import numpy as np
5757
import os
58-
import pathlib
5958
from pathlib import Path
6059
import copy
6160
import warnings
@@ -588,7 +587,7 @@ def _get_file_map(filename):
588587
Create memory maps when needed
589588
see also https://github.com/numpy/numpy/issues/19340
590589
"""
591-
filename = pathlib.Path(filename)
590+
filename = Path(filename)
592591
suffix = filename.suffix.lower()[1:]
593592

594593
if suffix == "ncs":

0 commit comments

Comments
 (0)