Skip to content

Commit

Permalink
separate option for uploading from opening result in browser
Browse files Browse the repository at this point in the history
  • Loading branch information
mogres committed Oct 31, 2023
1 parent 3c6d300 commit 1fc790a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cellpack/autopack/writers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ def save_as_simularium(self, env, seed_to_results_map):
)
number_of_packings = env.config_data.get("number_of_packings", 1)
open_results_in_browser = env.config_data.get("open_results_in_browser", True)
if number_of_packings == 1 or is_aggregate:
upload_results = env.config_data.get("upload_results", True)
if (number_of_packings == 1 or is_aggregate) and upload_results:
autopack.helper.post_and_open_file(file_name, open_results_in_browser)

def save_Mixed_asJson(
Expand Down

0 comments on commit 1fc790a

Please sign in to comment.