|
|
|
|
82
|
# self.Import = OrderedDict( node["Import"] ) # {}
|
82
|
# self.Import = OrderedDict( node["Import"] ) # {}
|
83
|
# self.Processing = OrderedDict( node["Processing"] )
|
83
|
# self.Processing = OrderedDict( node["Processing"] )
|
84
|
def __repr__(self):
|
84
|
def __repr__(self):
|
85
|
- return "%s(name=%r, Akvo_VESION=%r, Import=%r, Processing=%r)" % (
|
|
|
|
|
85
|
+ return "%s(name=%r, Akvo_VERSION=%r, Import=%r, Processing=%r)" % (
|
86
|
#self.__class__.__name__, self.Akvo_VERSION, self.Import, self.Processing )
|
86
|
#self.__class__.__name__, self.Akvo_VERSION, self.Import, self.Processing )
|
87
|
self.__class__.__name__, self.Akvo_VERSION, self.Import, OrderedDict(self.Processing) )
|
87
|
self.__class__.__name__, self.Akvo_VERSION, self.Import, OrderedDict(self.Processing) )
|
88
|
#self.__class__.__name__, self.Akvo_VERSION, self.Import, OrderedDict(self.Processing))
|
88
|
#self.__class__.__name__, self.Akvo_VERSION, self.Import, OrderedDict(self.Processing))
|
|
|
|
|
760
|
self.logText = self.RAWDataProc.DATADICT["INFO"]["log"] # YAML
|
760
|
self.logText = self.RAWDataProc.DATADICT["INFO"]["log"] # YAML
|
761
|
|
761
|
|
762
|
self.YamlNode = AkvoYamlNode( ) #self.logText )
|
762
|
self.YamlNode = AkvoYamlNode( ) #self.logText )
|
763
|
- self.YamlNode.Akvo_VERSION = (yaml.load( self.logText )).Akvo_VERSION
|
|
|
764
|
- self.YamlNode.Import = OrderedDict((yaml.load( self.logText )).Import)
|
|
|
765
|
- self.YamlNode.Processing = OrderedDict((yaml.load( self.logText )).Processing)
|
|
|
766
|
- #self.YamlNode.Akvo_VERSION = 2 #yaml.load( self.logText )["Akvo_VERSION"] #, Loader=yaml.RoundTripLoader) # offending line!
|
|
|
767
|
- #self.YamlNode = AkvoYamlNode( self.logText ) # offending line!
|
|
|
768
|
- #print("import type", type( self.YamlNode.Processing ))
|
|
|
|
|
763
|
+
|
|
|
764
|
+ self.YamlNode.Akvo_VERSION = (yaml.load( self.logText, Loader=yaml.Loader )).Akvo_VERSION
|
|
|
765
|
+ self.YamlNode.Import = OrderedDict((yaml.load( self.logText, Loader=yaml.Loader )).Import)
|
|
|
766
|
+ self.YamlNode.Processing = OrderedDict((yaml.load( self.logText, Loader=yaml.Loader )).Processing)
|
769
|
self.Log()
|
767
|
self.Log()
|
770
|
#self.ui.logTextBrowser.append( yaml.dump(self.YamlNode)) #, default_flow_style=False) )
|
768
|
#self.ui.logTextBrowser.append( yaml.dump(self.YamlNode)) #, default_flow_style=False) )
|
771
|
#except KeyError:
|
769
|
#except KeyError:
|