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
:: music_box -o output/ -e FlowTube
Traceback (most recent call last):
File "/opt/homebrew/anaconda3/envs/musicbox/bin/music_box", line 8, in <module>
sys.exit(main())
^^^^^^
File "/opt/homebrew/anaconda3/envs/musicbox/lib/python3.12/site-packages/acom_music_box/main.py", line 161, in main
result = myBox.solve(musicBoxOutputPath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/anaconda3/envs/musicbox/lib/python3.12/site-packages/acom_music_box/music_box.py", line 238, in solve
raise ValueError(f"Invalid output path: '{output_path}' does not contain a filename.")
ValueError: Invalid output path: 'output/' does not contain a filename.
Acceptance criteria
All of these commands work
music_box -o output/ -e FlowTube
music_box -o output.csv -e FlowTube
music_box -o output/results.csv -e FlowTube
Ideas
Provide a default output filename in the argparse declaration
The
-o
option right now always needs a filename.Only specifying a directory produces an error
Acceptance criteria
music_box -o output/ -e FlowTube
music_box -o output.csv -e FlowTube
music_box -o output/results.csv -e FlowTube
Ideas
music-box/src/acom_music_box/main.py
Lines 32 to 36 in b49fe13
solve
functionmusic-box/src/acom_music_box/music_box.py
Lines 231 to 245 in b49fe13
The text was updated successfully, but these errors were encountered: