-
Notifications
You must be signed in to change notification settings - Fork 4
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
Incorrect parsing of string that starts with "0Dxxxxx" #559
Comments
Another issue was reported via support: https://issuetracker.deltares.nl/browse/SOFTSUP-648 Source of bug:
|
…ation to seperate method, add test case (#559)
A side-effect of our fix is that you can now also set attributes that are floats using the Fortran scientific notation, e.g.:
|
@xldeltares Could you verify that this issue is fixed in branch: |
@tim-vd-aardwegAfter testing the reported bug in the example model enclosed, I confirm that the issues has been fixed in |
Describe the bug
When reading a model that has storagenodes with id "0D05252", the string is parsed incorrectly as "0e05252"
A small test model is enclosed.
dflowfm.zip
To Reproduce
Steps to reproduce the behavior:
The above steps returns: 0e05252
Expected behavior
The above steps should return" 0D05252
Screenshots
This can be verified in the nodeFile.ini:
Version info (please complete the following information):
Additional info
In my use case of Eindhoven, this is rather critical because there are more than 1000 nodes are parsed wrongly after reading. See below figure, the red nodes are parsed wrongly.
The wrongly parsed string will be written again but wont match the network node ID anymore, causing run to fail.
The text was updated successfully, but these errors were encountered: