Skip to content

Conversation

subhnayak
Copy link
Contributor

@subhnayak subhnayak commented Jul 4, 2025

Description

Please provide a brief description of the changes made in this pull request.

Issue linked

Please mention the issue number or describe the problem this pull request addresses.

Checklist

  • I have tested my changes locally.
  • I have added necessary documentation or updated existing documentation.
  • I have followed the coding style guidelines of this project.
  • I have added appropriate unit tests.
  • I have reviewed my changes before submitting this pull request.
  • I have linked the issue or issues that are solved to the PR if any.
  • I have assigned this PR to myself.
  • I have made sure that the title of my PR follows Conventional commits style (e.g. feat: wrap with feature edges)

AlejandroFernandezLuces and others added 4 commits July 3, 2025 12:56
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
…uild (#1059)

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
Co-authored-by: afernand <alex.fernandezluces@ansys.com>
….10.0 in the general-dependencies group (#1073)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
@subhnayak subhnayak requested a review from Copilot July 4, 2025 17:24
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Integrates ADO’s 25R2/sp01 updates into the Prime meshing internals:

  • Cleans up and centralizes logging in the Docker-based server launch path
  • Adds preprocessing to sanitize hyperfoam coefficient data
  • Fixes a typo in the hyperfoam coefficient string assembly

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/ansys/meshing/prime/internals/launcher.py Removed an inconsistent logger call and standardized output when using Docker server
src/ansys/meshing/prime/core/mapdlcdbexportutils.py Introduced float conversion for coefficient data and corrected a variable typo in string formatting
Comments suppressed due to low confidence (3)

src/ansys/meshing/prime/core/mapdlcdbexportutils.py:896

  • Introduce unit tests for the new data normalization logic to ensure None values are skipped and all numeric strings are correctly converted to floats.
        data = {

src/ansys/meshing/prime/internals/launcher.py:266

  • [nitpick] Use the project’s logging framework instead of print to maintain consistency and log levels. For example: logging.getLogger('PyPrimeMesh').info('Using server from container: %s', container_name).
        print('using server from docker : The container name ', container_name)

src/ansys/meshing/prime/internals/launcher.py:271

  • The removed logger call used a comma without a format specifier, which would log a tuple rather than interpolating the container name. If reintroducing, use a format string or pass %s in the message.
    )

Copy link

github-actions bot commented Jul 4, 2025

The documentation for this pull request will be available at https://prime.docs.pyansys.com/pull/1077. Please allow some time for the documentation to be deployed.

@subhnayak subhnayak changed the base branch from main to release/0.9.0 July 8, 2025 05:02
@subhnayak subhnayak self-assigned this Jul 8, 2025
@github-actions github-actions bot added maintenance Package and maintenance related documentation Improvements or additions to documentation labels Jul 8, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation Improvements or additions to documentation maintenance Package and maintenance related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants