diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py index a77abd8c3c216a4b712cb1d215abf53c97f6dcd0..3d9f23a532ca2e2db864a36ecdbca838d6d3763d 100644 --- a/binarycpython/utils/grid.py +++ b/binarycpython/utils/grid.py @@ -1410,11 +1410,6 @@ class Population: ensemble_json["ensemble"] = extract_ensemble_json_from_string( ensemble_raw_output ) # Load this into a dict so that we can combine it later - - # Extra ensemble result manipulation: - # We need to reformat and multiply by a factor - ensemble_json["ensemble"] = self.format_ensemble_results(ensemble_json["ensemble"]) - gc.collect() else: # If we do not allow this, automatically we will export this to the data_dir, in # some formatted way @@ -1427,7 +1422,7 @@ class Population: # Write to file with open(output_file, "w") as f: - f.write(ensemble_raw_output) + f.write(self.format_ensemble_results(ensemble_raw_output)) print( "Thread {}: Wrote ensemble results directly to file: {}".format(