def _parse_extra_features(node, NHX_string):
NHX_string = NHX_string.replace("<STR_LIT>", "<STR_LIT>")<EOL>NHX_string = NHX_string.replace("<STR_LIT:]>", "<STR_LIT>")<EOL>for field in NHX_string.split("<STR_LIT::>"):<EOL><INDENT>try:<EOL><INDENT>pname, pvalue = field.split("<STR_LIT:=>")<EOL><DEDENT>except ValueError as e:<EOL><INDENT>raise NewickError('<STR_LIT>' %field)<EOL><DEDENT>node.add_feature(pname, pvalue)<EOL><DEDENT>
Reads node's extra data form its NHX string. NHX uses this
format:  [&&NHX:prop1=value1:prop2=value2]