Open gbenelli opened 1 month ago
The new MEData
class has this function as one of its methods, so this issue is still relevant. I added an if statement which checks if len(me_df) == 0
and if its True
, it prints out a warning. You can find it in the latest commit in the PR.
I would add the check as the first line of the generate_me_df function https://github.com/CMSTrackerDPG/DQMExplore/blob/6ee04b84eab9a78c302ffc13e47c8a3096d99a09/src/dqmexplore/dataproc.py#L8