Skip to content

Commit

Permalink
added comment to clarify filename input, and using os.path.join to re…
Browse files Browse the repository at this point in the history
…trieve path location.
  • Loading branch information
lolaBerkowitz committed Sep 12, 2024
1 parent abd7c27 commit 0708337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neuro_py/io/loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ def loadLFP(
frequency: float = 1250.0,
precision: str = "int16",
ext: str = "lfp",
filename: str = None,
filename: str = None, # name of file to load, located in basepath
):
if filename is not None:
path = filename
path = os.path.join(basepath,filename)
else:
path = ""
if ext == "lfp":
Expand Down

0 comments on commit 0708337

Please sign in to comment.