Problem when running `se.NumpyRecording.dump()`
See original GitHub issueHello!
I am running into the follwing AssertionErrorr
when running se.NumpyRecording.dump(/path/to.json)
:
AssertionError Traceback (most recent call last)
~/d/n2b/n2b-visification/scripts/io.py in <module>
25 # save RecordingExtractor
26 print('Saving recording to {}'.format(OUTPUT_PATH))
---> 27 recording.dump(OUTPUT_PATH)
28 print('Finished saving recording.')
~/anaconda/envs/visification/lib/python3.7/site-packages/spikeinterface/core/base.py in dump(self, file_path, relative_to, folder_metadata)
394 """
395 if str(file_path).endswith('.json'):
--> 396 self.dump_to_json(file_path, relative_to=relative_to, folder_metadata=folder_metadata)
397 elif str(file_path).endswith('.pkl') or str(file_path).endswith('.pickle'):
398 self.dump_to_pickle(file_path, relative_to=relative_to, folder_metadata=folder_metadata)
~/anaconda/envs/visification/lib/python3.7/site-packages/spikeinterface/core/base.py in dump_to_json(self, file_path, relative_to, folder_metadata)
412 If not None, file_paths are serialized relative to this path
413 '''
--> 414 assert self.check_if_dumpable()
415 dump_dict = self.to_dict(include_annotations=True,
416 include_properties=False,
AssertionError:
However, the final AssertionError
is not printing anything, so I am not quite sure what the issue is. The OUTPUT_PATH
is 161.json
, by the way.
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Recording objects — spikeinterface documentation
We will create a RecordingExtractor object from scratch using numpy and the NumpyRecording . Let's define the properties of the dataset: num_channels =...
Read more >Problems running rethinkdb-dump from cron - Stack Overflow
When you run it from that backup.sh script, it maybe run without correct PATH setup and cannot found the PATH of rethinkdb-dump ....
Read more >spikeinterface - githubmemory
Probe file not linking with spike sorters · Run `ss.sorter` without `set_probe()` · Conda package support · Problem when running `se.NumpyRecording.dump()`.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes.
cached and cached2 are totaly equivalent and are lazy.
Chunking did the trick!