Skip to content

Commit

Permalink
call save_as_simularium in doloop only for parallel packings (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
rugeli authored Jan 26, 2024
1 parent 6ba5a46 commit e8c834e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cellpack/autopack/Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8c834e

Please sign in to comment.