Closed alistairewj closed 3 months ago
@alistairewj it looks like there is a path issue in the CI:
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_summer_school_data.py:6: in <module>
from b2aiprep.summer_school_data import (
src/b2aiprep/summer_school_data.py:46: in <module>
from b2aiprep.prepare import redcap_to_bids
src/b2aiprep/prepare.py:44: in <module>
from b2aiprep.utils import _transform_str_for_bids_filename
E ModuleNotFoundError: No module named 'b2aiprep.utils'
Whoops, forgot to include that file. I moved the transform file to a separate module as it is imported from multiple modules, and it's easier to avoid circular imports that way
This PR
load_recording(recording_id: str)
,load_recordings()
, andload_spectrograms()
as functions to the dataset class