-
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/firebase upload gradients #170
Conversation
…ture/firebase-upload-gradients
…oscope/cellpack into feature/firebase-upload-gradients
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 #170 +/- ##
==========================================
+ Coverage 98.42% 98.52% +0.10%
==========================================
Files 15 16 +1
Lines 444 476 +32
==========================================
+ Hits 437 469 +32
Misses 7 7
☔ View full report in Codecov by Sentry. |
…m/mesoscope/cellpack into feature/run-recipes-from-firebase
@rugeli could you pull from main whenever you get a chance so that updates from your other branch get merged in? |
for item in CompositionDoc.SHALLOW_MATCH: | ||
if db_data[item] != local_data[item]: | ||
print(db_data[item], local_data[item]) | ||
shallow_match = False | ||
break |
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 break statement should probably be a return statement? It looks like it only breaks out of the inner loop right now.
break | |
return None, None |
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.
yeah I know it's confusing, the readability of this function is truly a concern for us. Let's address it during our group programming session this week.
cellpack/tests/test_gradient_doc.py
Outdated
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.
These are great, thanks for adding tests!
fix print statement Co-authored-by: Saurabh Mogre <[email protected]>
Co-authored-by: Saurabh Mogre <[email protected]>
Feature/resovle grads in comp
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.
Need to fix a test but otherwise looks good
…ture/firebase-upload-gradients
…ture/firebase-upload-gradients
Problem
What is the problem this work solves, including
completes gradient collection upload in #124
closes #129
Solution
What I/we did to solve this problem
GradientDoc
class to handle gradient data uploads if it is included in the recipe we are uploading to firebaseExpected Behavior
gradients
collectionType of change
Change summary:
peroxisomes_surface_gradient.json
andgradients.json
Steps to Verify:
conda activate autopack
upload -r [relative-path-to-a-gradient-recipe] -c [your-firebase-cred-path]
pytest cellpack
Screenshots (optional):