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
Users sometimes provide a TextGrid input file to FAVE-extract that has a formatting error, such as the following (note the two newline characters after "HH:
praat.py crashes while trying to read in this file with the following error:
File "/home/speech/Resources/Tools/FAVE/FAVE-extract/bin/praat.py", line 540, in read
jmin = round(float(line.strip().split('=')[1].strip()), 3) # line reads "xmin = xxx.xxxxx"
IndexError: list index out of range
It would be more helpful to the user to print out the line that caused the crash so that the user doesn't need to look for it themselves after the crash. Even better would be for praat.py to check the format of the entire TextGrid file while reading it in and output information about any lines that have formatting errors.
The text was updated successfully, but these errors were encountered:
Users sometimes provide a TextGrid input file to FAVE-extract that has a formatting error, such as the following (note the two newline characters after "HH:
praat.py crashes while trying to read in this file with the following error:
It would be more helpful to the user to print out the line that caused the crash so that the user doesn't need to look for it themselves after the crash. Even better would be for praat.py to check the format of the entire TextGrid file while reading it in and output information about any lines that have formatting errors.
The text was updated successfully, but these errors were encountered: