-
Notifications
You must be signed in to change notification settings - Fork 28
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
use Texture
for ReactionInput
and Compound
#698
Conversation
Codecov Report
@@ Coverage Diff @@
## main #698 +/- ##
==========================================
+ Coverage 69.33% 70.28% +0.94%
==========================================
Files 23 23
Lines 2322 2423 +101
Branches 589 627 +38
==========================================
+ Hits 1610 1703 +93
- Misses 598 604 +6
- Partials 114 116 +2
|
addressing #696 |
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.
Steve and I were talking about this and had some thoughts:
- The
MixtureDescription
field seems a bit unnecessary. I get wanting to understand the "texture/phase" (for lack of a better phrase) from the perspective of processability, so we should include it somehow - Perhaps
StateOfMatter
could be generalized a bit more to includeSLURRY
and other ways that you would describe a potential input. This would be the singular enum we would use to record this information - Probably don't need plasma, lol
- Having this kind of texture/state/phase defined at the
Compound
,CrudeComponent
, andReactionInput
level seems okay. We would need to expand the validations for this to (1) ensure details are given if type is CUSTOM, and (2) make sure that single-compound inputs have the same texture/state/phase as the compound when both are defined - CUSTOM should always be the second enum option after UNSPECIFIED, and all enums should have a
CUSTOM
option (probably including this texture/state/phase - Is there any world in which we simply expand the product texture field and use it for the
ProductCompound
,Compound
,CrudeComponent
, andReactionInput
fields?
Thanks for the comments.
My idea was just to expand Another thing is the current options of
Got it, will do this after we settle the design.
Only include for completeness... although this is in a recent JACS Plasma Electrochemistry for Carbon–Carbon Bond Formation via Pinacol Coupling (hope we don't need to describe excited states in the future) |
todo: throw a warning for a
|
- fix bug in texture type validation - add validation test for texture type consistence in `ReactionInput`
Moving
|
4 tests failed, all seem unrelated to |
This issue has been resolved in |
please update the PR description; only deals with Texture now |
- additional comment for `Texture` - matter state enum for validation
Texture
for ReactionInput
and Compound
No description provided.