In the first case, process_one_score was not checking if the score was present in the output folder but in an invalid path constructed by appending the output_name to the input_score_path. For example: /Corpus/.../score.mxl/slices_with_analysis.tsv. Also, the overwrite flag was not passed down from process_corpus so it was not possible to actually overwrite the files
In the second case, clear_the_decks was always returning an empty list even if there were files that were kept. This was due to a wrong variable.
I also simplified a few things in the paths.
Also, the error messages when processing the corpus are now reported out.
Fix two bugs with paths:
process_one_score
was not checking if the score was present in the output folder but in an invalid path constructed by appending the output_name to the input_score_path. For example:/Corpus/.../score.mxl/slices_with_analysis.tsv
. Also, the overwrite flag was not passed down from process_corpus so it was not possible to actually overwrite the filesclear_the_decks
was always returning an empty list even if there were files that were kept. This was due to a wrong variable.I also simplified a few things in the paths.
Also, the error messages when processing the corpus are now reported out.