Skip to content

Fix restrict option with multiple paths

If analysis.py is called with multiple paths to restrict, i.e. --restrict /bkg/?/a,/bkg/?/b, the restriction is not working and the analysis is done for the full sample folder.

The problem is, that the paths are saved in the config as a vector tag, but are retrieved as a single string tag, which is not working if there are more than one paths set in the restriction option.

This MR fixes this by retrieving the restrict paths as a vector tag.

Related: CAFExample!17 (merged)

Edited by Benjamin Rottler

Merge request reports