Merged
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #560 +/- ##
===========================================
+ Coverage 91.78% 91.82% +0.04%
===========================================
Files 77 77
Lines 11996 12026 +30
===========================================
+ Hits 11010 11043 +33
+ Misses 986 983 -3 ☔ View full report in Codecov by Sentry. |
richardotis
approved these changes
Aug 5, 2024
- Support wildcard expansion for sublattice index (required adding sublattice index = '*' as valid) - Change behavior of compute_property for site fractions to return NaN if the phase is not stable (previously we were returning zero)
richardotis
approved these changes
Aug 5, 2024
bocklund
added a commit
to bocklund/pycalphad
that referenced
this pull request
Aug 6, 2024
Addresses the following cases with a test: - Fixes wildcard expansion on components (for properties without a sublattice index) to expand on non-vacant pure elements. With proper component support, we would go back to using `self.components`, but currently `self.components` contain all phase constituents, including, for example, vacancies - Adds `expand_wildcard` on components for chemical potentials - Fixes wildcard expansion for properties where expansions are on phase constituents, such as site fractions - Adds support for wildcard expansion on sublattice indices (required adding `sublattice index = '*'` as valid). - Change behavior of compute_property for site fractions to return NaN if the phase is not stable (previously we were returning zero)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the following cases with a test:
self.components, but currentlyself.componentscontain all phase constituents, including, for example, vacanciesexpand_wildcardon components for chemical potentialssublattice index = '*'as valid).