Skip to content

Parse names with capital letters #173

@brey

Description

@brey

I am trying to parse a namelist that includes names with capital letters. E.g.

&config_nml
   input = 'wind.nc' ! wind data
   STEPS = 864
   layout = 8, 16
   visc_NL = 1.0e-4
   use_biharmonic = .false.
/

would return

Namelist([('config_nml',
           Namelist([('input', 'wind.nc'),
                     ('steps', 864),
                     ('layout', [8, 16]),
                     ('visc_nl', 0.0001),
                     ('use_biharmonic', False)]))])

Is there anyway to maintain the capitalization?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions