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

Cleaned up definition of emulsions, allowing to define empty emulsions #41

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

david-zwicker
Copy link
Member

  • Removed grid attribute from Emulsion and similar classes
  • Instead, grid instances can now be specified when distances are important, which separates concerns better
  • Added explicit dtype attribute to emulsions to clearly specify type of droplets in empty emulsions. This can often be ignored, though.

* Removed `grid` attribute from `Emulsion` and similar classes
* Instead, grid instances can now be specified when distances are
important, which separates concerns better
* Added explicit `dtype` attribute to emulsions to clearly specify type
of droplets in empty emulsions. This can often be ignored, though.
@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Patch coverage: 92.15% and project coverage change: +0.50% 🎉

Comparison is base (be8a8f8) 89.64% compared to head (82c94a4) 90.15%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
+ Coverage   89.64%   90.15%   +0.50%     
==========================================
  Files           8        8              
  Lines        1681     1646      -35     
==========================================
- Hits         1507     1484      -23     
+ Misses        174      162      -12     
Flag Coverage Δ
unittests 90.15% <92.15%> (+0.50%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
droplets/trackers.py 91.37% <ø> (+2.31%) ⬆️
droplets/droplet_tracks.py 89.59% <75.00%> (ø)
droplets/emulsions.py 90.08% <93.33%> (+1.91%) ⬆️
droplets/droplets.py 93.46% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@david-zwicker
Copy link
Member Author

Closes #40

@david-zwicker david-zwicker merged commit 9f77d53 into master Aug 29, 2023
9 checks passed
@david-zwicker david-zwicker deleted the empty_emulsion branch August 29, 2023 15:54
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.

1 participant