-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/upload to s3 #181
Feature/upload to s3 #181
Conversation
…m/mesoscope/cellpack into feature/upload-to-s3
…m/mesoscope/cellpack into feature/upload-to-s3
…ellpack into feature/upload-to-s3
…ellpack into feature/upload-to-s3
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## main #181 +/- ##
==========================================
+ Coverage 98.39% 98.52% +0.13%
==========================================
Files 14 15 +1
Lines 435 475 +40
==========================================
+ Hits 428 468 +40
Misses 7 7
☔ View full report in Codecov by Sentry. |
def __init__(self, db_handler): | ||
self.db = db_handler | ||
if isinstance(db_handler, FirebaseHandler): | ||
DBHandler.firebase_handler = db_handler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shouldn't be in this file. The idea of DBHandler is it's agnostic to what handler is being used. There should be nothing explicitly referencing firebase in this file
14042b5
to
f6533c9
Compare
Problem
What is the problem this work solves, including
closing #140
Solution
What I/we did to solve this problem
simularium_helper.py
, added functionalities to store results to S3 -cellpack-results/simularium
, upload metadata to firebase, and open packing results in simularium app.with @meganrm @mogres
Type of change
Please delete options that are not relevant.
Steps to Verify:
pack -r [path-to-a-local-recipe] -c [path-to-a-config-file]
firebase:recipes/[firebase-recipe-id] -c [path-to-a-config-file]
(make sure you have the recipe living in your firebase before packing)Keyfiles (delete if not relevant):
1.
simularium_helper.py
2.
AWSHandler.py