Skip to content

Conversation

@bruAristimunha
Copy link
Collaborator

No description provided.

bruAristimunha and others added 30 commits September 10, 2025 21:31
The `EEGDashDataset` class had an inconsistency in its `__init__` method regarding the `cache_dir` parameter. The method signature made it a required positional argument, but the docstring and implementation logic implied it was optional with a fallback to a default directory.

This commit resolves the inconsistency by making the parameter behavior align with it being mandatory:

1.  The implementation is simplified to `self.cache_dir = Path(cache_dir)`, removing the misleading `or get_default_cache_dir()` fallback.
2.  The docstring for `cache_dir` is updated to remove the mention of it being optional.
3.  A new test case is added to `tests/test_api.py` to verify that passing an empty string for `cache_dir` now correctly resolves to the current directory (`.`), which is the behavior of `Path("")`. This confirms the removal of the old fallback logic.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
[BUG] Update environment configuration for caching in the CI
@bruAristimunha bruAristimunha changed the title Version release Version release 0.2.9 Sep 20, 2025
@bruAristimunha bruAristimunha changed the title Version release 0.2.9 Version release 0.4 Sep 20, 2025
@bruAristimunha bruAristimunha merged commit 62f0f1a into main Sep 21, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants