Skip to content

Commit

Permalink
add an assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Sep 20, 2023
1 parent a395c3c commit 6130e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/how_to/load_matlab_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Once you have your data in a binary format, you can seamlessly load it into Spik
# file_path = Path(r"c:\path\to\your\data\your_data_as_a_binary.bin")
# Ensure the file exists
assert file_path.is_file()
assert file_path.is_file(), f"Your path {file_path} is not a file, you probably have a typo or got the wrong path."
# Specify the parameters of your recording
sampling_frequency = 30_000.0 # in Hz, adjust as per your MATLAB dataset
Expand Down

0 comments on commit 6130e5b

Please sign in to comment.