@classmethod<EOL><INDENT>def from_blob(cls, s):<DEDENT>
atom_str, edge_str = s.split()<EOL>numbers = np.array([int(s) for s in atom_str.split("<STR_LIT:U+002C>")])<EOL>edges = []<EOL>orders = []<EOL>for s in edge_str.split("<STR_LIT:U+002C>"):<EOL><INDENT>i, j, o = (int(w) for w in s.split("<STR_LIT:_>"))<EOL>edges.append((i, j))<EOL>orders.append(o)<EOL><DEDENT>return cls(edges, numbers, np.array(orders))<EOL>
Construct a molecular graph from the blob representation