You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not that easy to implement, mainly because element can be a part of the full tuple, to iterate over a subject's sessions.
However, what we can do for v0.0.4 is to raise a warning if len(elements) > len(processed_elements). We compute processed_elements just by counting how many times we fit the mc inside that for loop (Line 171)
It's not that easy to implement, mainly because element can be a part of the full tuple, to iterate over a subject's sessions.
Yes that is a bit tricky.
However, what we can do for v0.0.4 is to raise a warning if len(elements) > len(processed_elements). We compute processed_elements just by counting how many times we fit the mc inside that for loop (Line 171)
Although the solution is good, I would like to have a comprehensive solution as it's not a critical feature issue, but more of a user notification.
Are you requiring a new dataset or marker?
Which feature do you want to include?
I just did this:
and then tried to run junifer with
--element sub-0001
.The issue (which take me a lot of time to solve) is that
sub-0001
is not in the elements list, since the replacement is without thesub-
prefix.Now, there was no issue/warning from the run function. It cloned the dataset, did nothing and dropped the dataset.
How do you imagine this integrated in junifer?
We should implement a check in which if some of the elements in the list is not selected by the filter, there's a warning/error.
Exactly here is where we pass through the filter.
junifer/junifer/api/functions.py
Lines 170 to 178 in a9e799c
We should somehow keep a list of "unselected" elements so we can raise the warning.
Do you have a sample code that implements this outside of junifer?
No response
Anything else to say?
No response
The text was updated successfully, but these errors were encountered: