Skip to content
Snippets Groups Projects
Commit d2d549c4 authored by Maxim Gonchar's avatar Maxim Gonchar
Browse files

fix: improve printing

parent d0ce7f3a
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,8 @@ class ParametersVisitor(NestedMKDictVisitor): ...@@ -37,6 +37,8 @@ class ParametersVisitor(NestedMKDictVisitor):
def enterdict(self, k, v): def enterdict(self, k, v):
if not k: if not k:
return return
if self._path:
self.exitdict(self._path, None)
self._path = k self._path = k
self._localdata = [] self._localdata = []
...@@ -121,6 +123,7 @@ def model_dayabay_v0(): ...@@ -121,6 +123,7 @@ def model_dayabay_v0():
with Graph(close=True) as g: with Graph(close=True) as g:
storage ^= load_parameters({'path': 'ibd' , 'load': datasource/'parameters/pdg2012.yaml'}) storage ^= load_parameters({'path': 'ibd' , 'load': datasource/'parameters/pdg2012.yaml'})
storage ^= load_parameters({'path': 'ibd.csc' , 'load': datasource/'parameters/ibd_constants.yaml'})
storage ^= load_parameters({ 'load': datasource/'parameters/baselines.yaml'}) storage ^= load_parameters({ 'load': datasource/'parameters/baselines.yaml'})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment