Fast plotter fails to extract weights from file name
Fast plotter fails to open my dataframe in output from fast-carpenter with this backtrace:
File "testplot.py", line 6, in <module>
dataframe = read_binned_df("output/tbl_genJetPt.deltaPt.csv")
File "/users/sb17498/.local/lib/python2.7/site-packages/fast_plotter/utils.py", line 25, in read_binned_df
read_opts = get_read_options(filename)
File "/users/sb17498/.local/lib/python2.7/site-packages/fast_plotter/utils.py", line 17, in get_read_options
index_cols, _ = decipher_filename(filename)
File "/users/sb17498/.local/lib/python2.7/site-packages/fast_plotter/utils.py", line 13, in decipher_filename
weights = groups.group("weights").split(".")
when run on tbl_genJetPt.deltaPt.csv. The example in the fast_cms_public_tutorial repo does not fail as it does not to perform the groups.group("weights") operation.
I presume the error is due to not using weights in the sequence, see sequence_cfg.yaml.
Edited by Simone Bologna