Why filter out empty labels from Intervals?
See original GitHub issue if tierType == INTERVAL_TIER:
while True:
try:
timeStart, timeStartI = _fetchRow(tierData,
"xmin = ", labelI)
timeEnd, timeEndI = _fetchRow(tierData,
"xmax = ", timeStartI)
label, labelI = _fetchRow(tierData, "text =", timeEndI)
except (ValueError, IndexError):
break
label = label.strip()
if label == "":
continue
tierEntryList.append((timeStart, timeEnd, label))
tier = IntervalTier(tierName, tierEntryList, tierStart, tierEnd)
Why wouldn’t I want the intervals exactly as they appear in the file?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Solved: JQL excluding label while keeping empty label issu...
Solved: Hi, I'm trying to exclude a label and found a solution, except that it excludes empty labels. Does anyone know of a...
Read more >Data are not returned for specific interval and labels. #1899
On 90d interval the return array from VM is empty. When I change interval to 6 months or 30 days (in Grafana) data...
Read more >Subsetting event data - bupaR
Resource labels. Similar to the activity filter, the resource filter can be used to filter events by listing on or more resources. patients...
Read more >Querying basics - Prometheus.io
It is possible to filter these time series further by appending a comma separated list of label matchers in curly braces ( {}...
Read more >Google Sheets FILTER function: what it is and how to use it
Learn how to use the powerful Google Sheets filter function to filter (display) your datasets based on specific criteria.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Pulled it this morning, couldn’t be happier! Thanks for the quick help on this.
I’m working with forced alignment of a transcribed audio dataset- I have to have adjust the audio and textgrids to include a silence at the start and end.
I think perhaps this preprocessing behavior isn’t immediately intuitive- I suggest an optional ‘raw’ flag argument could allow for reading in everything in the file. Or perhaps an optional processor function could be supplied that would handle this sort of preprocessing.