Closed alejoe91 closed 2 years ago
With versions 0.8.4 and 0.8.5 it fails to import:
>>> import sortingview
gives:
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Input In [1], in <cell line: 1>() ----> 1 import sortingview File ~/anaconda3/envs/si/lib/python3.9/site-packages/sortingview/__init__.py:11, in <module> 9 from .load_extractors.copy_recording_extractor import copy_recording_extractor, upload_recording_extractor 10 from .load_extractors.copy_sorting_extractor import copy_sorting_extractor, upload_sorting_extractor ---> 11 from .load_extractors.save_recording import save_recording File ~/anaconda3/envs/si/lib/python3.9/site-packages/sortingview/load_extractors/save_recording.py:3, in <module> 1 from typing import Any 2 import spikeinterface as si ----> 3 from .h5extractors.h5recordingextractorv1 import H5RecordingExtractorV1 6 def save_recording(R: si.BaseRecording, *, format: str, filename: str, dtype: Any): 7 if format == 'h5_v1': ModuleNotFoundError: No module named 'sortingview.load_extractors.h5extractors'
@alejoe91 There was a missing __init__.py This should work now in 0.8.6.
__init__.py
With versions 0.8.4 and 0.8.5 it fails to import:
>>> import sortingview
gives: