Closed dirk-netl closed 1 year ago
Thanks you very much for your contribution. I just incorporated your change, but about that line "data = self.content.split(line, -1)[-1]", i went back to the initial one "data = self.content.split(line, 2)[-1]" because otherwise it introduces a bug. Can you try the latest github version of fluidfoam and confirm that it is correct for you now
It looks like it worked.
Perfect! So I close the issue. Thank you again for your contribution
Hi,
Started using this library to parse foam files. I used it with the bunny and started getting some errors. That is because the old file format for neighbors allowed -1 to be present in the file to say "the face isn't here". I updated the _parse_owner function in the foam reader to handle this case. works fine now.