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

Not able to save the network with modified elements as an INP file. #413

Closed
amsinhaubc opened this issue Apr 2, 2024 · 2 comments
Closed
Assignees
Labels

Comments

@amsinhaubc
Copy link

Hi,

I am using the following code to save the edited network.
wn.write_inpfile('Scenario1.inp')

However, I get the error:
AttributeError: 'WaterNetworkModel' object has no attribute 'write_inpfile'.

What am I doing wrong?

  • Operating system: 64-bit/Windows11
  • Python version: 3.10.13
  • WNTR version: 1.1.0
@ucchejbb
Copy link

ucchejbb commented Apr 2, 2024

#408

write_inpfile has moved. Please see above referenced issue.

@amsinhaubc
Copy link
Author

Thanks for the information. It worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants