From 7d09cd97a80132a903f8b8b8b255a3a1862b9856 Mon Sep 17 00:00:00 2001
From: David Hendriks <davidhendriks93@gmail.com>
Date: Fri, 17 Jan 2020 15:24:25 +0000
Subject: [PATCH] added some todos

---
 binarycpython/utils/grid.py | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py
index da789a5e8..13b5654f7 100644
--- a/binarycpython/utils/grid.py
+++ b/binarycpython/utils/grid.py
@@ -280,7 +280,7 @@ class Population(object):
             self.grid_options[
                 "custom_logging_func_memaddr"
             ] = create_and_load_logging_function(custom_logging_code)
-    
+
 
     ###################################################
     # Evolution functions
@@ -294,8 +294,14 @@ class Population(object):
         ### Custom logging code:
         self.set_custom_logging()
 
+        # Get argument line
         argline = self.return_argline(self.bse_options)
+
+        # Run system
         out = binary_c_python_api.run_system(argline, self.grid_options['custom_logging_func_memaddr'], self.grid_options['store_memaddr']) # Todo: change this to run_binary again but then build in checks in binary
+
+        # TODO: add call to function that cleans up the temp customlogging dir, and unloads the loaded libraries.
+
         return out
 
     def evolve_population(self, custom_arg_file=None):
@@ -370,6 +376,11 @@ class Population(object):
 
         pass
 
+        # TODO: add call to function that cleans up the temp customlogging dir, and unloads the loaded libraries.
+
+
+
+
     ###################################################
     # Testing functions
     ###################################################
-- 
GitLab