bp / bp/ResSimpy

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

Open
#227 0 comments 0 reactions 0 assignees View on GitHub
enhancement Nexus OGS
Dominant language
Python
Stars
23
Forks
8
Avg merge
16d 4h
Merged PRs (30d)
1

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.