-
Notifications
You must be signed in to change notification settings - Fork 81
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
default mass and charge of Compound to None #1047
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1047 +/- ##
=======================================
Coverage 90.39% 90.40%
=======================================
Files 64 64
Lines 9027 9036 +9
=======================================
+ Hits 8160 8169 +9
Misses 867 867 ☔ View full report in Codecov by Sentry. |
We might need a process in
Checking for, and handling |
Good catch! I will modify the packing function to handle the case of mass = None |
This pull request introduces 1 alert when merging c409c84 into 85acbcf - view on LGTM.com new alerts:
|
I'm still getting zero mass when calling
The
Also,
Maybe |
good catch! I think we could return |
This has been added in the latest commit. |
If you're calling Maybe behavior along the lines of:
Maybe the error message could be a little more clear |
This pull request introduces 1 alert when merging f448104 into 85acbcf - view on LGTM.com new alerts:
|
warn if there is compound has particle with None mass. fix unit test
This pull request introduces 1 alert when merging 2f3a42d into 85acbcf - view on LGTM.com new alerts:
|
…h is being determined
This pull request introduces 1 alert when merging a23ec40 into 85acbcf - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 2165e38 into 85acbcf - view on LGTM.com new alerts:
|
The fixes on the mass property function look good. I guess we should probably have the same kind of process and behavior for |
similar tests for charge has been added |
This pull request introduces 1 alert when merging b878138 into 85acbcf - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 7cef3dd into 85acbcf - view on LGTM.com new alerts:
|
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
This pull request introduces 1 alert when merging 947f87c into 0970f90 - view on LGTM.com new alerts:
|
PR Summary:
Changing the default value of
Compound.charge
andCompound.mass
toNone
. The purpose is to distinct between whether the user intentionally setting the value ofcharge
andmass
or just haven't initiated those properties.PR Checklist