stilt.SimID.parse#

classmethod SimID.parse(value)[source]#

Build a SimID from its string form or a (receptor, variant) pair.

Raises:

ValueError – If a string is not of the form "<receptor_id>/<variant>", or the receptor id is malformed.

Return type:

SimID

Parameters:

value (str | SimID | tuple[str, str])