From b1d8f4785721f09fc35f4aabe441ea398758bdce Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Fri, 23 Mar 2018 19:58:51 -0500 Subject: [PATCH 1/2] Tree build: Also log nsrcntgts. --- boxtree/tree_build.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/boxtree/tree_build.py b/boxtree/tree_build.py index dbf9f52..1f03e00 100644 --- a/boxtree/tree_build.py +++ b/boxtree/tree_build.py @@ -1571,9 +1571,10 @@ class TreeBuilder(object): extra_tree_attrs.update(target_radii=target_radii) tree_build_elapsed = time() - tree_build_start_time - logger.info("tree build complete: %d levels, %d boxes, " + + logger.info("tree build complete: %d levels, %d boxes, %d particles, " "elapsed time: %g s", - nlevels, len(box_parent_ids), tree_build_elapsed) + nlevels, len(box_parent_ids), nsrcntgts, tree_build_elapsed) return Tree( # If you change this, also change the documentation -- GitLab From 551b4b4e113fa8cc0acaa473ef04d772c77e3958 Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Fri, 23 Mar 2018 21:02:02 -0400 Subject: [PATCH 2/2] Remove accidental newline --- boxtree/tree_build.py | 1 - 1 file changed, 1 deletion(-) diff --git a/boxtree/tree_build.py b/boxtree/tree_build.py index 1f03e00..bac9ba5 100644 --- a/boxtree/tree_build.py +++ b/boxtree/tree_build.py @@ -1571,7 +1571,6 @@ class TreeBuilder(object): extra_tree_attrs.update(target_radii=target_radii) tree_build_elapsed = time() - tree_build_start_time - logger.info("tree build complete: %d levels, %d boxes, %d particles, " "elapsed time: %g s", nlevels, len(box_parent_ids), nsrcntgts, tree_build_elapsed) -- GitLab