Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mesoscope/cellpack into fix/gradien…
Browse files Browse the repository at this point in the history
…t_invert
  • Loading branch information
mogres committed Oct 13, 2023
2 parents 8492cda + 9105668 commit a918184
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cellpack/autopack/writers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ def save_as_simularium(self, env, all_ingr_as_array, compartments):
file_name = env.helper.writeToFile(
env.result_file, env.boundingBox, env.name, env.version
)
if env.config_data.get(
"upload_results", env.config_data.get("number_of_packings", 1) <= 1
):
upload_results = env.config_data.get("upload_results", False)
number_of_packings = env.config_data.get("number_of_packings", 1)
if upload_results or number_of_packings == 1:
autopack.helper.post_and_open_file(file_name)

def save_Mixed_asJson(
Expand Down

0 comments on commit a918184

Please sign in to comment.