fix: update import paths and add verification files to examples - #4038
Merged
Merged
Conversation
Contributor
|
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
Contributor
Reviewer's GuideThis PR refactors how example file paths are resolved by updating the module‐level path variable and integrates a suite of verification input files by importing them and exposing each as a top‐level example variable. Class diagram for updated examples module structureclassDiagram
class examples.py {
- __dir_path: str
- wing_model: str
+ laterally_loaded_tapered_support_structure
+ pinched_cylinder
+ transient_thermal_stress_in_a_cylinder
+ elongation_of_a_solid_bar
+ natural_frequency_of_a_piezoelectric_transducer
+ frequency_response_of_electrical_input_admittance
+ electrothermal_microactuator_analysis
+ piezoelectric_rectangular_strip_under_pure_bending_load
+ transient_response_of_a_ball_impacting_a_flexible_surface
+ threed_nonaxisymmetric_vibration_of_a_stretched_membrane
+ modal_analysis_of_a_cyclic_symmetric_annular_plate
}
class vmfiles {
+ ["vm5"]
+ ["vm6"]
+ ["vm33"]
+ ["vm37"]
+ ["vm175"]
+ ["vm176"]
+ ["vm223"]
+ ["vm231"]
+ ["vm65"]
+ ["vm155"]
+ ["vm244"]
}
examples.py ..> vmfiles : imports and exposes verification files
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Collaborator
Author
|
@pyansys-ci-bot LGTM. |
germa89
enabled auto-merge (squash)
June 25, 2025 11:37
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4038 +/- ##
==========================================
+ Coverage 89.05% 89.13% +0.08%
==========================================
Files 187 187
Lines 14970 14983 +13
==========================================
+ Hits 13331 13355 +24
+ Misses 1639 1628 -11 🚀 New features to boost your workflow:
|
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.

Description
As the title.
Issue linked
Extracted from #1300
Checklist
draftif it is not ready to be reviewed yet.feat: adding new MAPDL command)Summary by Sourcery
Fix import path resolution in examples and expand the examples module with verification file references
Bug Fixes:
Enhancements: