-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Tried following the tutorial with the provided testing data files in songexplorer/bin/songexplorer/test/data, but was unable to open any files in the "recording" dropdown (section "Manually Annotating" in the readme). The .csv file produced in the previous steps matched what was provided in the tutorial. In the GUI, the "recording" list element flashes orange, but clicking it reveals no filenames.
The relevant files in my folder at this step are
PS_..._ch3.wav // original file from the test data
PS_..._ch3-detect.log // both generated from the previous "detect" step
PS_..._ch3-detected.csv
I replicated this issue on both Windows 11, and MacOS 12.5 (M2 Macbook Air). Below is what appears to be some relevant output from the terminal (from MacOS):
2024-05-22 19:23:06,088 Traceback (most recent call last):
File "/Users/me/Documents/se/songexplorer-macos/songexplorer/lib/python3.10/site-packages/tornado/gen.py", line 530, in callback
result_list.append(f.result())
File "/Users/me/Documents/se/songexplorer-macos/songexplorer/lib/python3.10/site-packages/bokeh/server/session.py", line 95, in _needs_document_lock_wrapper
result = func(self, *args, **kwargs)
File "/Users/me/Documents/se/songexplorer-macos/songexplorer/lib/python3.10/site-packages/bokeh/server/session.py", line 229, in with_document_locked
return func(*args, **kwargs)
File "/Users/me/Documents/se/songexplorer-macos/songexplorer/lib/python3.10/site-packages/bokeh/document/callbacks.py", line 450, in wrapper
return invoke_with_curdoc(doc, invoke)
File "/Users/me/Documents/se/songexplorer-macos/songexplorer/lib/python3.10/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc
return f()
File "/Users/me/Documents/se/songexplorer-macos/songexplorer/lib/python3.10/site-packages/bokeh/document/callbacks.py", line 449, in invoke
return f(*args, **kwargs)
File "/Users/me/Documents/se/songexplorer-macos/songexplorer/bin/songexplorer/src/gui/model.py", line 111, in save_annotations
iused = isused(annotation)
File "/Users/me/Documents/se/songexplorer-macos/songexplorer/bin/songexplorer/src/gui/model.py", line 84, in isused
return np.where([x['file']==sound['file'] and x['ticks']==sound['ticks'] \
TypeError: 'NoneType' object is not iterable
Is there a step in the tutorial that I am missing? Or is there another step required for the file to be properly recognized? Is this step sensitive to the analysis parameters (frequency range, frequency smoothing, etc)?