Skip to content

Tried to solve a problem roundtripping namelist files produced with this module back into Python

Martin Claus requested to merge acrosby:master into master

Created by: acrosby

Hi,

I had a problem with the _tokenize function dealing with new lines, such that I couldn't roundtrip namelist files produced with the module back into Python. (Which is sort of a corner case, I would imagine.) I seem to have resolved the issue, but I'm not sure if this breaks anything for you.

(My editor mangled some empty lines, and spaces, I can try to fix so that the diff looks better if you actually want to to merge but also want it to look cleaner.)

Cheers, Alex

Merge request reports

Loading