Closed tilmanb closed 2 years ago
Yes, looks wrong. A unit test is missing here to verify the behaviour.
Bug was fixed with PR #27, change in https://github.com/lat-lon/sep3-tools/pull/27/files#diff-5f8efaba0689e8fc5a6310078404e28b7d5afa46aad8714f2cfa2b745003b5afR145
While browsing and trying to understand the code I stubled accross this line in PetroVisitor: https://github.com/lat-lon/sep3-tools/blob/999e9087ff40a5a3c603854183adbc09c9a29625/src/main/java/org/sep3tools/PetroVisitor.java#L102
The function code (for context) is:
It looks to me that the variable written to should probably be att2, but I cannot find an example sep3 string that hits this line to see whether it really is a problem or not.