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

Add Session API to check EnSight version #351

Merged
merged 2 commits into from
Jan 19, 2024
Merged

Conversation

randallfrank
Copy link
Collaborator

Add a call on the Session object to make sure the EnSight version is at least some target.

Add a call on the Session object to make sure the EnSight version is at least some target.
@codecov-commenter
Copy link

codecov-commenter commented Jan 19, 2024

Codecov Report

Attention: 255 lines in your changes are missing coverage. Please review.

Comparison is base (5dd10a3) 75.20% compared to head (c8841a2) 75.13%.

Files Patch % Lines
src/ansys/pyensight/core/utils/parts.py 26.13% 193 Missing and 2 partials ⚠️
src/ansys/pyensight/core/utils/export.py 71.69% 51 Missing and 9 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #351      +/-   ##
==========================================
- Coverage   75.20%   75.13%   -0.08%     
==========================================
  Files          18       18              
  Lines        2860     2888      +28     
  Branches      518      526       +8     
==========================================
+ Hits         2151     2170      +19     
- Misses        547      553       +6     
- Partials      162      165       +3     

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

Copy link
Collaborator

@mariostieriansys mariostieriansys left a comment

Choose a reason for hiding this comment

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

@randallfrank wonderful!
Could you please add the same check with the same version on the create_particle/add_emitter/ functions in the parts utils?

Thanks!

Add formal version checks for create_particle* and add_emitter* calls.
@randallfrank
Copy link
Collaborator Author

randallfrank commented Jan 19, 2024

@randallfrank wonderful! Could you please add the same check with the same version on the create_particle/add_emitter/ functions in the parts utils?

Thanks!

@mariostieriansys I think I have this in now, please review.

@mariostieriansys
Copy link
Collaborator

@randallfrank thanks! That's perfect

@mariostieriansys mariostieriansys merged commit 59c2ac0 into main Jan 19, 2024
24 checks passed
@mariostieriansys mariostieriansys deleted the fix/version_error branch January 19, 2024 16:04
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.

3 participants