Skip to content

REFACTOR: Nastran import refactoring #6236

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

Open
wants to merge 39 commits into
base: main
Choose a base branch
from

Conversation

Alberto-DM
Copy link
Contributor

@Alberto-DM Alberto-DM commented Jun 5, 2025

To be completed - do not merge

Description

The Nastran import method has been completely refactored.
It has been moved out from visualization.advanced.misc and created a new module.
This module is compiled as pyd and imported in core.syslib.nastran_import.
nastran_import uses a method to dynamically inject helper functions defined in PyAEDT.
Two settings has been created to define the syslib module location and to provide to the user the possibility to specify a custom libraries location.
This refactoring has been done with the intent to generalize the inclusion of pyd in PyAEDT. A function to load dynamically the module with variable package location and name is provided.

@Alberto-DM Alberto-DM requested a review from a team as a code owner June 5, 2025 15:25
@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@Alberto-DM Alberto-DM marked this pull request as draft June 5, 2025 15:27
@github-actions github-actions bot added the maintenance Package and maintenance related label Jun 6, 2025
Copy link

codecov bot commented Jun 10, 2025

Codecov Report

Attention: Patch coverage is 88.80597% with 15 lines in your changes missing coverage. Please review.

Project coverage is 85.27%. Comparing base (62505df) to head (fb8d62d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6236      +/-   ##
==========================================
- Coverage   85.28%   85.27%   -0.02%     
==========================================
  Files         171      173       +2     
  Lines       64841    64633     -208     
==========================================
- Hits        55301    55116     -185     
+ Misses       9540     9517      -23     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Alberto-DM Alberto-DM marked this pull request as ready for review June 13, 2025 22:46
@Alberto-DM Alberto-DM enabled auto-merge (squash) June 13, 2025 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Package and maintenance related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants