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
The only problem is that Database.index is a property and we would break the API if we convert it to a method.
If we don't find a way to achieve this, we should maybe not target it or use another name (e.g. filter_index) for the proposed method.
This would be a solution. I'm not completely sure if we should limit the functionality already in the name, as you can in principle filter after split, media (as in audformat.Media), index type, but split is most likely the most important attribute.
A user might be interested to get the index for all files or segments included in one split.
To get all segments involved in the a split called
test
you would need to do the following at the moment:We could make this easier by converting the property
audformat.Database.index
into a method:The only problem is that
Database.index
is a property and we would break the API if we convert it to a method.If we don't find a way to achieve this, we should maybe not target it or use another name (e.g.
filter_index
) for the proposed method./cc @phtephanx
The text was updated successfully, but these errors were encountered: