Skip to content
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

prepare for use of jneqsim #292

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

prepare for use of jneqsim #292

wants to merge 9 commits into from

Conversation

EvenSol
Copy link
Collaborator

@EvenSol EvenSol commented Oct 15, 2024

We will start using the jneqsim package to link Java Neqsim to neqsim-python. The jneqsim package does not add extra Python functionality to Neqsim (it is just an interface to the Neqsim Java library), but it facilitates the generation of stubs.

If only Java functionality is needed in your Python application using Neqsim, then direct use of jneqsim is recommended. However, neqsim-python adds functionality and wrappers that can simplify calculations and shorten the scripts.

jneqsim is not yet updated to v3.0.0, so we need to wait for this version to be available for it to work.

@asmfstatoil
Copy link
Contributor

asmfstatoil commented Oct 16, 2024

I support the change but want to test a bit before approving this.

Specifically I want to verify the overload done by "from jneqsim import neqsim"

Copy link

@soofstad soofstad left a comment

Choose a reason for hiding this comment

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

This is the same we did in NeqsimAPI. JNeqsim should just work as a "drop in" replacement for "neqsimpython". No issues so for there, so see no reason it should not work here as well 🙂

@asmfstatoil
Copy link
Contributor

The tests are currently failing because of conflicting definitions of python module neqsim

@asmfstatoil
Copy link
Contributor

I would await equinor/jneqsim#15

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.

3 participants