sensein / b2aiprep

Apache License 2.0
5 stars 6 forks source link

Audio tutorial #64

Closed alistairewj closed 3 months ago

alistairewj commented 3 months ago

This PR

ibevers commented 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'
alistairewj commented 3 months ago

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