Skip to content

Conversation

@ascibisz
Copy link
Collaborator

Problem

We're currently uploading the simularium results file twice for packings run on the cellpack server, once on its own to the /simularium subdirectory and once with all the output files to the /runs subdirectory. This is redundant and silly!
Link to story or ticket

Solution

When we're running a packing on the cellpack server, skip the step where we upload the simularium file on its own. When we upload the results directory, keep track of the path for the simularium file within that and upload that to firebase, along with the output files directory path.

@github-actions
Copy link
Contributor

Packing analysis report

Analysis for packing results located at cellpack/tests/outputs/test_spheres/spheresSST

Ingredient name Encapsulating radius Average number packed
ext_A 25 236.0

Packing image

Packing image

Distance analysis

Expected minimum distance: 50.00
Actual minimum distance: 50.01

Ingredient key Pairwise distance distribution
ext_A Distance distribution ext_A

@ascibisz ascibisz changed the base branch from feature/server-passed-recipe-json to feature/firebase-lookup January 28, 2026 18:12
@ascibisz ascibisz changed the base branch from feature/firebase-lookup to feature/server-passed-recipe-json January 28, 2026 18:13
@ascibisz ascibisz force-pushed the fix/only-upload-simularium-file-once branch from 03cba71 to 5bb7d6f Compare January 28, 2026 18:29
@ascibisz ascibisz changed the base branch from feature/server-passed-recipe-json to feature/firebase-lookup January 28, 2026 20:57
Base automatically changed from feature/firebase-lookup to feature/server-passed-recipe-json January 29, 2026 21:12
@ascibisz ascibisz force-pushed the fix/only-upload-simularium-file-once branch from ad9876a to f648a2f Compare February 2, 2026 20:49
@ascibisz ascibisz marked this pull request as ready for review February 2, 2026 21:02
@ascibisz ascibisz requested a review from rugeli February 2, 2026 21:02
sub_folder_name=sub_folder,
region_name="us-west-2",
)
initialized_handler = handler(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much cleaner!!

Copy link
Collaborator

@rugeli rugeli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me! since store_matadata and upload_result_metadata are being removed next. the changes in here are very clean and well scoped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants