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

save metadata of aws result files to firebase #201

Closed
wants to merge 67 commits into from

Conversation

rugeli
Copy link
Collaborator

@rugeli rugeli commented Oct 6, 2023

Problem

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

Solution

What I/we did to solve this problem

  • wrote a function to save metadata of aws results files to firebase. The stored metadata includes fields such as "username", "timestamp", "aws_url", with the recipe's unique name being as the key
  • handlers are initiated using the DATABASE_IDS enum, ensuring that the DBRecipeHandler remains agnostic
  • rearranged firebase handler and aws handler to
    • ensure they are initialized only once
    • improve readability

Type of change

Please delete options that are not relevant.

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

Steps to Verify:

  1. pack either local or remote recipes to see if the result files has been uploaded to S3 and saved metadata to firebase

Screenshots (optional):

Screenshot 2023-10-06 at 11 24 58 AM

mogres and others added 29 commits August 16, 2023 15:34
* update simularium helper to use radius in molecules
* update max and min radii
* add size options to ingredient initialization
* refactor distribution value extraction
@github-actions
Copy link

github-actions bot commented Oct 6, 2023

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

Base automatically changed from feature/run-inherited-objects to feature/run-recipes-from-firebase October 12, 2023 21:24
mogres and others added 12 commits October 13, 2023 14:36
* update weights instead of distances while inverting gradient

* add credential file to gitignore

* add info in default values

* Log location of pack

* fix linting

* add invert options based on weight or distance

* * invert distances after checking for outliers
* check for outliers in weights

* updating tests
@rugeli
Copy link
Collaborator Author

rugeli commented Oct 23, 2023

changes in this PR are now in PR #206

@rugeli rugeli closed this Oct 23, 2023
@rugeli rugeli deleted the feature/save-metadata branch April 9, 2024 18:13
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