MCPcopy Create free account
hub / github.com/ablab/spades / construct_sequence

Method construct_sequence

ext/src/python_libs/pyyaml3/constructor.py:110–116  ·  view source on GitHub ↗
(self, node, deep=False)

Source from the content-addressed store, hash-verified

108 return node.value
109
110 def construct_sequence(self, node, deep=False):
111 if not isinstance(node, SequenceNode):
112 raise ConstructorError(None, None,
113 "expected a sequence node, but found %s" % node.id,
114 node.start_mark)
115 return [self.construct_object(child, deep=deep)
116 for child in node.value]
117
118 def construct_mapping(self, node, deep=False):
119 if not isinstance(node, MappingNode):

Callers 3

construct_yaml_seqMethod · 0.80

Calls 2

construct_objectMethod · 0.95
ConstructorErrorClass · 0.85

Tested by

no test coverage detected