From e3e08ed1474799e96fc35387b65297badc4041ab Mon Sep 17 00:00:00 2001 From: Ruge Li Date: Fri, 19 Jan 2024 14:56:59 -0800 Subject: [PATCH] call save_as_simularium in doloop only for parallel packings --- cellpack/autopack/Analysis.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cellpack/autopack/Analysis.py b/cellpack/autopack/Analysis.py index 59db980d..b29649cf 100644 --- a/cellpack/autopack/Analysis.py +++ b/cellpack/autopack/Analysis.py @@ -2487,7 +2487,8 @@ def doloop( self.writeJSON(ingredient_occurences_file, ingredient_occurence_dict) self.writeJSON(ingredient_key_file, ingredient_key_dict) - Writer().save_as_simularium(self.env, self.seed_to_results) + if number_of_packings > 1: + Writer().save_as_simularium(self.env, self.seed_to_results) all_ingredient_positions = self.combine_results_from_seeds( ingredient_position_dict