Skip to content

Commit

Permalink
Downgraded "Could not find branch..." message to info
Browse files Browse the repository at this point in the history
  • Loading branch information
lwpiotr committed Apr 15, 2024
1 parent 074f2f5 commit 5078a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grand/dataio/root_trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ def create_branch_from_field(self, value, set_branches=False, value_name=""):
self._tree.SetBranchAddress(branch_name, getattr(self, value_name)._vector)
except:
# logger.warning(f"Could not find branch {value_name[1:]} in tree {self.tree_name}. This branch will not be filled.")
logger.warning(f"Could not find branch {branch_name} in tree {self.tree_name}. This branch will not be filled.")
logger.info(f"Could not find branch {branch_name} in tree {self.tree_name}. This branch will not be filled.")
elif type(value) == StdString:
# Create the branch
if not set_branches:
Expand Down

0 comments on commit 5078a81

Please sign in to comment.