We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @magland, I'd like to access a recording (PAIRED_CRCNS_HC1) via Python API but am having difficulties.
PAIRED_CRCNS_HC1
I tried:
from spikeforest2_utils import AutoRecordingExtractor, AutoSortingExtractor import kachery as ka ka.set_config(fr='default_readonly') recording_path = 'sha1://067fe80650ccfc6573be1b1f7f3283a6fb6d507a/d11221_d11221.001.json' recording = AutoRecordingExtractor(recording_path, download=True)
and got
--------------------------------------------------------------------------- Exception Traceback (most recent call last) /tmp/ipykernel_814256/1596312567.py in <module> 9 # sorting_true_path = 'sha1://ff64f1713227c017052bf21b41ddf764320aa606/SYNTH_MAGLAND/synth_magland_noise10_K10_C4/001_synth.firings_true.json' 10 ---> 11 recording = AutoRecordingExtractor(recording_path, download=True) 12 # sorting_true = AutoSortingExtractor(sorting_true_path) 13 ~/repos/spikeforest2/spikeforest2_utils/autoextractors/autorecordingextractor.py in __init__(self, arg, download) 49 obj = ka.load_object(path) 50 if obj is None: ---> 51 raise Exception(f'Unable to load object: {path}') 52 if ('raw' in obj) and ('params' in obj) and ('geom' in obj): 53 self._recording = MdaRecordingExtractor(timeseries_path=obj['raw'], samplerate=obj['params']['samplerate'], geom=np.array(obj['geom']), download=download) Exception: Unable to load object: sha1://067fe80650ccfc6573be1b1f7f3283a6fb6d507a/d11221_d11221.001.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @magland, I'd like to access a recording (
PAIRED_CRCNS_HC1
) via Python API but am having difficulties.I tried:
and got
The text was updated successfully, but these errors were encountered: