VForWaTer / metacatalog

Modular metadata management platform for environmental data.
https://vforwater.github.io/metacatalog
GNU General Public License v3.0
3 stars 1 forks source link

Implement a better way to open metacatalog CONFIGFILE #280

Open AlexDo1 opened 1 year ago

AlexDo1 commented 1 year ago

Loading and reading the metacatalog CONFIGFILE is currently done in the following way: https://github.com/VForWaTer/metacatalog/blob/1219f7f621193fb86063d924188260421508095e/metacatalog/ext/__init__.py#L56-L61

It would be nice to read and get values from CONFIGFILE directly without the need of the with open(CONFIGFILE) as f block.