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

feat: Phase.hasComponent check against normalized name #965

Merged
merged 4 commits into from
Mar 21, 2024

Conversation

asmfstatoil
Copy link
Collaborator

feat: new function Phase.getComponentNames

@codecov-commenter
Copy link

codecov-commenter commented Mar 21, 2024

Codecov Report

Attention: Patch coverage is 84.21053% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 34.71%. Comparing base (08ab6b8) to head (1b7c922).

Files Patch % Lines
src/main/java/neqsim/thermo/phase/Phase.java 80.00% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #965   +/-   ##
=========================================
  Coverage     34.70%   34.71%           
- Complexity     5285     5288    +3     
=========================================
  Files           700      700           
  Lines         69569    69575    +6     
  Branches       7994     7997    +3     
=========================================
+ Hits          24147    24150    +3     
- Misses        43939    43940    +1     
- Partials       1483     1485    +2     

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

Copy link
Collaborator

@EvenSol EvenSol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good update. What doe normalized name mean?

@asmfstatoil asmfstatoil force-pushed the feat_component_names branch 2 times, most recently from 6396073 to 9e48978 Compare March 21, 2024 09:44
feat: new function Phase.getComponentNames
fix: check that compnumber is not already in use
@asmfstatoil
Copy link
Collaborator Author

good update. What doe normalized name mean?

normalized / sanitized name returned from
ComponentInterface.getComponentNameFromAlias(name)

@asmfstatoil asmfstatoil merged commit 3ec2eb5 into equinor:master Mar 21, 2024
5 checks passed
@asmfstatoil asmfstatoil deleted the feat_component_names branch March 21, 2024 11:22
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.

None yet

3 participants