def model_length(gene, domain):
if gene == '<STR_LIT>':<EOL><INDENT>domain2max = {'<STR_LIT>': int(<NUM_LIT>), '<STR_LIT>': int(<NUM_LIT>), '<STR_LIT>': int(<NUM_LIT>), '<STR_LIT>': int(<NUM_LIT>)}<EOL>return domain2max[domain]<EOL><DEDENT>elif gene == '<STR_LIT>':<EOL><INDENT>domain2max = {'<STR_LIT>': int(<NUM_LIT>), '<STR_LIT>': int(<NUM_LIT>), '<STR_LIT>': int(<NUM_LIT>), '<STR_LIT>': int(<NUM_LIT>)}<EOL>return domain2max[domain]<EOL><DEDENT>else:<EOL><INDENT>print(sys.stderr, '<STR_LIT>' % (gene, domain))<EOL>exit()<EOL><DEDENT>
get length of model