Skip to content
New issue

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

Is this code redundant? #698

Open
allwaysFindFood opened this issue Feb 18, 2025 · 3 comments
Open

Is this code redundant? #698

allwaysFindFood opened this issue Feb 18, 2025 · 3 comments

Comments

@allwaysFindFood
Copy link
Contributor

Image

moabb/evaluations/evaluations.py

The lines 187-196 don't return any and the parameters don't match those below—are these redundant code?

@bruAristimunha
Copy link
Collaborator

Hey @allwaysFindFood,

maybe, but we want to remove this type of evaluation and depend only on splitters. This whole part of the evaluation will be refactored for better future maintainability, if you have any feedback or wishes, please let me know

@gcattan
Copy link
Collaborator

gcattan commented Feb 21, 2025

@bruAristimunha may be we can welcome a PR to fix the existing evaluation. I suspect it will still live for some time, before being removed. What do you think?

@bruAristimunha
Copy link
Collaborator

I really hope not too long, we are working on the Moabb meeting every two weeks to try to prioritize what is blocked.

Regarding the reported line, basically in the folder creation function we have two behaviors that are controlled by the same flag. It seems redundant, but it wasn't at the time it was proposed.

Definitely needs some refinement, but we already we will do this soon.

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

No branches or pull requests

3 participants