Parses something like args1=val1,arg2=val2 Into a dictionary
(args_string)
| 47 | |
| 48 | |
| 49 | def simple_parse_args_string(args_string): |
| 50 | """ |
| 51 | Parses something like |
| 52 | args1=val1,arg2=val2 |
| 53 | Into a dictionary |
| 54 | """ |
| 55 | args_string = args_string.strip() |
| 56 | if not args_string: |
| 57 | return {} |
| 58 | arg_list = args_string.split(",") |
| 59 | args_dict = OmegaConf.to_object(OmegaConf.from_dotlist(arg_list)) |
| 60 | return args_dict |
| 61 | |
| 62 | |
| 63 | def join_iters(iters): |
nothing calls this directly
no outgoing calls
no test coverage detected