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

modelbuilder print modeltree from dimr instead of mdu #725

Closed
veenstrajelmer opened this issue Jan 12, 2024 · 0 comments · Fixed by #726
Closed

modelbuilder print modeltree from dimr instead of mdu #725

veenstrajelmer opened this issue Jan 12, 2024 · 0 comments · Fixed by #726

Comments

@veenstrajelmer
Copy link
Collaborator

veenstrajelmer commented Jan 12, 2024

This also shows relative paths:

# visualize the model tree
from hydrolib.core.dimr.models import DIMR
dimr_file = os.path.join(dir_output, 'dimr_config.xml')
dimr_obj = DIMR(dimr_file)
dimr_obj.show_tree()

Old ext file prints no sub-entries: Deltares/HYDROLIB-core#581
Once it does, also remove the listdir command.

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 a pull request may close this issue.

1 participant