USDA-ARS-NWRC / inicheck

Automated handling, checking, and outputting of complicated .ini configuration files.
Other
1 stars 4 forks source link

Add Mapping types #26

Open micahjohnson150 opened 5 years ago

micahjohnson150 commented 5 years ago

Its becoming apparent there is some need for mapping data type. Essentially we want a dictionary input.

E.g.

[wind]

veg: {43:11.4, 42:0, 41:7.2}

Perhaps we could use some sort of tuple syntax to get around colons

[wind] veg: (43,11.4), (42,0), (41,7.2)

scotthavens commented 5 years ago

I think that would be a good solution and make the config files much cleaner.