Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase uploader refactor: update multiple compositions in the same region #269

Merged
merged 3 commits into from
Jul 17, 2024

Conversation

rugeli
Copy link
Collaborator

@rugeli rugeli commented Jun 25, 2024

Problem

What is the problem this work solves, including
closes #244

Solution

What I/we did to solve this problem
modified DBUploader to correctly update composition ids within the same region

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Steps to Verify:

  1. upload a recipe that has multiple comps in the same region - upload -r examples/recipes/v2/anaylsis_b.json
  2. verify the expected space structure in Firebase:
Screenshot 2024-06-25 at 3 31 44 PM
  1. (optional) pack this firebase recipe - pack -r firebase:recipes/analysis_b_v_1.0.0 , it should run without errors

Copy link

github-actions bot commented Jun 25, 2024

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

@rugeli rugeli requested review from meganrm and ascibisz July 2, 2024 18:25
@rugeli rugeli requested a review from mogres July 15, 2024 23:42
@rugeli rugeli merged commit 0b411c8 into main Jul 17, 2024
7 checks passed
@rugeli rugeli deleted the refactor/uploading-system branch July 17, 2024 22:28
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.

Firebase: incorrect reference handling
3 participants