Skip to content

Commit

Permalink
Update machine_learning_hep/processer.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jochen Klein <[email protected]>
  • Loading branch information
DelloStritto and qgp authored Dec 21, 2023
1 parent fed5cee commit 62fa119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine_learning_hep/processer.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def __init__(self, case, datap, run_param, mcordata, p_maxfiles, # pylint: disab
if os.path.isdir(self.d_root):
self.l_path = list_folders(self.d_root, self.n_root, self.p_maxfiles,
self.select_jobs)
elif is_file_indir(self.d_pkl, self.n_reco):
elif glob.glob(f"{self.d_pkl}/**/{self.n_reco}", recursive=True):
self.l_path = list_folders(self.d_pkl, self.n_reco, self.p_maxfiles,
self.select_jobs)
else:
Expand Down

0 comments on commit 62fa119

Please sign in to comment.