Skip to content

Conversation

prmukherj
Copy link
Collaborator

@prmukherj prmukherj commented Dec 15, 2022

There are some inconsistencies how Fluent version is formatted at various places in the pyfluent code:

get_fluent_version() returns string "x.y.z"
launch_fluent accepts string "x.y"
launch_remote_fluent accepts string "xy"
set_ansys_version accepts string "x.y", float x.y, or an enum.

This has been addressed as part of this PR.

Please Note: This PR work is still in progress and it would be helpful to get your views on this. Thank you.

Current modification handles both cases even when the user enters "x.y.0" or "x.y".

@prmukherj prmukherj marked this pull request as ready for review December 19, 2022 06:26
@prmukherj prmukherj merged commit d8cbb9e into main Dec 19, 2022
@prmukherj prmukherj deleted the maint/consistent_fluent_version_format branch December 19, 2022 13:51
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.

Raise useful exceptions for use of retired root object Use consistent formatting for Fluent version

4 participants