-
Notifications
You must be signed in to change notification settings - Fork 43
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
Feat/pypim #445
Feat/pypim #445
Conversation
|
||
_THIS_DIR = os.path.dirname(__file__) | ||
_OPTIONS_FILE = os.path.join(_THIS_DIR, "fluent_launcher_options.json") | ||
FLUENT_VERSION = "22.2" | ||
PIM_FLUENT_PRODUCT_VERSION = FLUENT_VERSION.replace(".", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need to be public?
PIM_FLUENT_PRODUCT_VERSION = FLUENT_VERSION.replace(".", "") | |
_PIM_FLUENT_PRODUCT_VERSION = FLUENT_VERSION.replace(".", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need to be public?
The only reason was that it is accessed in the added test. So, it's a moot point perhaps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah ok, I see it now. If it's on purpose that's fine.
@@ -229,6 +236,10 @@ def __init__( | |||
if start_transcript: | |||
self.start_transcript() | |||
|
|||
self._remote_instance = remote_instance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason this is there 2x?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is a bad merge, resolving conflicts
In this PR, PyPIM is integrated into PyFluent. This means that there is no special PyPIM code to insert into Jupyter Notebooks for PyFluent on Fuji, making those notebooks more portable.
PyMADL has already made a similar adoption into its launch code.
Subsequent work can add dependency on the uploader service to take explicit file upload/download operations out of the hands of users and make file IO operations in notebooks portable also.
Testing;
added unit test
tested on Ansys Lab, removing explicit use of PyPIM there.