-
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
Updates for variable count and size experiments #215
Conversation
…to analysis/variable_count_and_size_experiment
…lpack into analysis/variable_count_and_size_experiment
* return count as integer * allow specifying seed list in the recipe
…lpack into fix/parallel_packing_with_simularium
* add sphere mesh objects for tests * add recipe for nested mesh testing
…riable_count_and_size_experiment
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #215 +/- ##
=======================================
Coverage 98.63% 98.63%
=======================================
Files 18 18
Lines 511 511
=======================================
Hits 504 504
Misses 7 7 ☔ View full report in Codecov by Sentry. |
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.
LGTM! I was able to run the test variable count recipe using different config file settings without encountering any issues.
elif recipe_data.get("randomness_seed") is not None: | ||
seed_list = recipe_data["randomness_seed"] | ||
else: | ||
seed_list = 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.
Nit: should we implement an early return here for seed_list
when it's None
? So that we don't need to check it again in L274?
…lysis/variable_count_and_size_experiment
Problem
This PR contains updates related to running packing experiments with variable count and size distributions.
Solution
These updates include changes to grid file loading and setting random seeds for packing replicates.
Type of change
Change summary:
number_of_packings > 1
, a list of random seeds is generated to match. The random seeds can also be explicitly specified in the recipe itself.Steps to Verify:
pack -r cellpack/tests/recipes/v2/test_variable_count.json -c cellpack/tests/packing-configs/test_variable_count_config.json
in an activated conda environment