Skip to content

Commit bd7998d

Browse files
committed
microscopic changes
1 parent 07c1bbd commit bd7998d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

viewspikes/data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def stream(pid, t0, one=None, cache=True, dsets=None):
8181
last_chunk=last_chunk)
8282

8383
if cache:
84+
samples_folder.mkdir(exist_ok=True, parents=True)
8485
out_meta = samples_folder.joinpath(sample_file_name)
8586
shutil.copy(sr.file_meta_data, out_meta)
8687
with open(out_meta.with_suffix('.bin'), 'wb') as fp:

viewspikes/examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
## Example 2: Plot Insertion for a given PID (todo: use Needles 2 for interactive)
1919
plot_insertion(pid, one=one)
2020

21-
## Example 3: High-pass the data and show the PSD
21+
## Example 3: Show the PSD
2222
raw = sr[:, :-1].T
2323
show_psd(raw, sr.fs)
2424

0 commit comments

Comments
 (0)