Skip to content
Snippets Groups Projects
Commit 2e3a3fe6 authored by lkugler's avatar lkugler
Browse files

.

parent 04084847
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ from config.cfg import exp ...@@ -17,7 +17,7 @@ from config.cfg import exp
def dict_to_py(d, outfile): def dict_to_py(d, outfile):
with open(outfile, 'w') as f: with open(outfile, 'w') as f:
txt = '# this file is autogenerated \n obs_kind_nrs = {' txt = '# this file is autogenerated \nobs_kind_nrs = {'
for k,v in d.items(): for k,v in d.items():
txt += '"'+k+'": '+str(v)+', \n' txt += '"'+k+'": '+str(v)+', \n'
txt += '}' txt += '}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment