From ae64f473b40463a110726584373e5bb37c1ae5ae Mon Sep 17 00:00:00 2001
From: David Hendriks <davidhendriks93@gmail.com>
Date: Sun, 4 Jul 2021 17:59:13 +0100
Subject: [PATCH] Removed  some of the verbose output

---
 binarycpython/utils/custom_logging_functions.py | 4 ++--
 binarycpython/utils/grid.py                     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/binarycpython/utils/custom_logging_functions.py b/binarycpython/utils/custom_logging_functions.py
index e3be2e16b..a17fcbb7a 100644
--- a/binarycpython/utils/custom_logging_functions.py
+++ b/binarycpython/utils/custom_logging_functions.py
@@ -203,7 +203,7 @@ def from_binary_c_config(config_file: str, flag: str) -> str:
 
     # convert and chop off newline
     res = res.decode("utf-8").rstrip()
-    print(res)
+    # print(res)
 
     return res
 
@@ -360,7 +360,7 @@ def compile_shared_lib(
             )
         )
     res = subprocess.check_output("{command}".format(command=command), shell=True)
-    print(res)
+    # print(res)
     if verbose > 0:
         if res:
             print("Output of compilation command:\n{}".format(res))
diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py
index eae019acd..ff4d582c6 100644
--- a/binarycpython/utils/grid.py
+++ b/binarycpython/utils/grid.py
@@ -1019,7 +1019,7 @@ class Population:
                 break
 
         # Extra ensemble result manipulation:
-        combined_output_dict['ensemble_results']['ensemble'] = self.format_ensemble_results(combined_output_dict['ensemble_results']['ensemble'])
+        combined_output_dict['ensemble_results']['ensemble'] = self.format_ensemble_results(combined_output_dict['ensemble_results'].get('ensemble', {}))
         gc.collect()
 
         # Take into account that we run this on multiple cores
-- 
GitLab