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
I installed madmom in virtualenv from the git repository.
I'm using some of the scripts that are included in the bin/ directory.
Actual behaviour
Many of these scripts fail when run, for example:
$ TempoDetector
/Users/alastair/code/env/lib/python3.7/site-packages/madmom/features/tempo.py:725: UserWarning: Usage of `method` is deprecated as of version 0.17. Please pass a dedicated `TempoHistogramProcessor` instance as `histogram_processor`.Functionality will be removed in version 0.19.
'Usage of `method` is deprecated as of version 0.17. '
Traceback (most recent call last):
File "/Users/alastair/code/env/bin/TempoDetector", line 162, in <module>
main()
File "/Users/alastair/code/env/bin/TempoDetector", line 158, in main
args.func(processor, **vars(args))
AttributeError: 'Namespace' object has no attribute 'func'
It looks like the func value is only set if you choose a processing option (pickle/single/batch/online). In fact, after reading the help text for the scripts, I see that I need to choose a processing method:
$ TempoDetector single
usage: TempoDetector single [-h] [-o OUTFILE] [-j NUM_THREADS] [--online]
infile
TempoDetector single: error: the following arguments are required: infile
It would be good if the argparser could properly raise an error if the processing method isn't specified, instead of trying to run anyway.
Expected behaviour
I installed madmom in virtualenv from the git repository.
I'm using some of the scripts that are included in the
bin/
directory.Actual behaviour
Many of these scripts fail when run, for example:
It looks like the
func
value is only set if you choose a processing option (pickle/single/batch/online). In fact, after reading the help text for the scripts, I see that I need to choose a processing method:It would be good if the argparser could properly raise an error if the processing method isn't specified, instead of trying to run anyway.
Steps needed to reproduce the behaviour
Information about installed software
Please provide some information about installed software.
The text was updated successfully, but these errors were encountered: