def _parse_field_arguments(arg, faces, edges, coords):
if not hasattr(arg, '<STR_LIT>'):<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>pot = [_parse_field_argument(instruct, faces, edges, coords) for instruct in arg]<EOL>if len(pot) <= <NUM_LIT:1>:<EOL><INDENT>return pot[<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>sp = java_link().jvm.nben.mesh.registration.Fields.newSum()<EOL>for field in pot: sp.addField(field)<EOL>return sp<EOL><DEDENT>
See mesh_register.