diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py index da789a5e86ef8cfda27f1feebbc81faaf22a7957..13b5654f70681e406af11924c55cf1bfe794f4da 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 ###################################################