Skip to content

file chooseer for stereo fails on both dash and comma together #32

@rcrath

Description

@rcrath
Available channels:
1. Mid (rreplay - 141025 04-short\tmp\cpy\rreplay - 141025 04-short_Mid.wav)
2. Side (rreplay - 141025 04-short\tmp\cpy\rreplay - 141025 04-short_Side.wav)
3. Left (rreplay - 141025 04-short\tmp\cpy\rreplay - 141025 04-short_Left.wav)
4. Right (rreplay - 141025 04-short\tmp\cpy\rreplay - 141025 04-short_Right.wav)

Enter the numbers of the channels to proceed with (e.g., 1,2 or 1-4, default=1): 1-2,4
Traceback (most recent call last):
  File "E:\Dropbox\audio\wavetables\wavetabler\src\a_wvtbl.py", line 78, in <module>
    main()
  File "E:\Dropbox\audio\wavetables\wavetabler\src\a_wvtbl.py", line 74, in main
    process_single_file(file_name)
  File "E:\Dropbox\audio\wavetables\wavetabler\src\a_wvtbl.py", line 43, in process_single_file
    processed_channel_files = cc_channels.run()  # This will return the processed files
                              ^^^^^^^^^^^^^^^^^
  File "E:\Dropbox\audio\wavetables\wavetabler\src\cc_channels.py", line 117, in run
    selected_channels = choose_channels(channel_files)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Dropbox\audio\wavetables\wavetabler\src\cc_channels.py", line 88, in choose_channels
    start, end = map(int, selections.split('-'))
    ^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '2,4'

(wvtbl_win) E:\Dropbox\audio\wavetables\wavetabler

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions