def convert_activity(ast):
if len(ast.args) > <NUM_LIT:1>:<EOL><INDENT>log.error(f"<STR_LIT>")<EOL><DEDENT>p_arg = ast.args[<NUM_LIT:0>]  <EOL>print("<STR_LIT>", p_arg)<EOL>ma_arg = Function("<STR_LIT>", bo.spec)<EOL>ma_arg.add_argument(StrArg(ast.name, ma_arg))<EOL>p_arg.change_parent_fn(ma_arg)<EOL>ast = Function("<STR_LIT>", bo.spec)<EOL>p_arg.change_parent_fn(ast)<EOL>ast.add_argument(p_arg)<EOL>ast.add_argument(ma_arg)<EOL>return ast<EOL>
Convert BEL1 activities to BEL2 act()