nodes: 0, module; 1, function_definition; 2, function_name:subs2seqs; 3, parameters; 4, type; 5, block; 6, identifier:self; 7, generic_type; 8, expression_statement; 9, expression_statement; 10, expression_statement; 11, if_statement; 12, return_statement; 13, identifier:Dict; 14, type_parameter; 15, comment:"""A |collections.defaultdict| containing the node-specific
          information provided by XML `sequences` element.
  
          >>> from hydpy.auxs.xmltools import XMLInterface
          >>> from hydpy import data
          >>> interface = XMLInterface('single_run.xml', data.get_path('LahnH'))
          >>> series_io = interface.series_io
          >>> subs2seqs = series_io.writers[2].subs2seqs
          >>> for subs, seq in sorted(subs2seqs.items()):
          ...     print(subs, seq)
          node ['sim', 'obs']
          """; 16, assignment; 17, assignment; 18, comparison_operator:nodes is not None; 19, block; 20, identifier:subs2seqs; 21, type; 22, type; 23, identifier:subs2seqs; 24, call; 25, identifier:nodes; 26, call; 27, identifier:nodes; 28, None; 29, for_statement; 30, identifier:str; 31, generic_type; 32, attribute; 33, argument_list; 34, identifier:find; 35, argument_list; 36, identifier:seq; 37, identifier:nodes; 38, block; 39, identifier:List; 40, type_parameter; 41, identifier:collections; 42, identifier:defaultdict; 43, identifier:list; 44, call; 45, string; 46, expression_statement; 47, type; 48, attribute; 49, argument_list; 50, string_content:node; 51, call; 52, identifier:str; 53, identifier:self; 54, identifier:find; 55, string; 56, attribute; 57, argument_list; 58, string_content:sequences; 59, subscript; 60, identifier:append; 61, call; 62, identifier:subs2seqs; 63, string; 64, identifier:strip; 65, argument_list; 66, string_content:node; 67, attribute; 68, identifier:seq; 69, identifier:tag
code: def subs2seqs(self) -> Dict[str, List[str]]:
          """A |collections.defaultdict| containing the node-specific
          information provided by XML `sequences` element.
  
          >>> from hydpy.auxs.xmltools import XMLInterface
          >>> from hydpy import data
          >>> interface = XMLInterface('single_run.xml', data.get_path('LahnH'))
          >>> series_io = interface.series_io
          >>> subs2seqs = series_io.writers[2].subs2seqs
          >>> for subs, seq in sorted(subs2seqs.items()):
          ...     print(subs, seq)
          node ['sim', 'obs']
          """
          subs2seqs = collections.defaultdict(list)
          nodes = find(self.find('sequences'), 'node')
          if nodes is not None:
              for seq in nodes:
                  subs2seqs['node'].append(strip(seq.tag))
          return subs2seqs