Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add repr for objects like Simulator, Wells, Nodes and their derived classes. #227

Open
jonnyh404 opened this issue Nov 22, 2023 · 0 comments
Labels
enhancement New feature or request Nexus Issues related to the Nexus simulator OGS Issues related to the OpenGoSim simulator

Comments

@jonnyh404
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
The code below throws an error which whilst technically not a bug is not a great user experience as it is something I would expect a user to do.

from ResSimpy.Nexus.NexusSimulator import NexusSimulator
file_path = 'somemodel.fcs'
model = NexusSimulator(file_path)
print(model)

Describe the solution you'd like
Add an explicit repr onto objects like Simulator, Wells, Nodes and their derived classes.

@jonnyh404 jonnyh404 added enhancement New feature or request OGS Issues related to the OpenGoSim simulator Nexus Issues related to the Nexus simulator labels Nov 22, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request Nexus Issues related to the Nexus simulator OGS Issues related to the OpenGoSim simulator
Projects
None yet
Development

No branches or pull requests

1 participant