collect_tests.py: write output of Bar/buz benchmark to results/buz.json
This workaround is to support https://github.com/eic/physics_benchmarks/pull/55
The directories produced by Snakemake typically have a path that looks like results/{DETECTOR_CONFIG}/Inclusive/dis
, but collect_tests.py Inclusive/dis
will try to create results/Inclusive/dis.json
and fail because results/
exists, but results/Inclusive/
doesn't. This moves the created back to results/dis.json
for now.